Exoplayer: missing proguard file

Created on 12 Sep 2014  路  8Comments  路  Source: google/ExoPlayer

I see that the recommended proguard settings for this project are on the gitignore list. I think it would be helpful to add this to the repository.

Most helpful comment

I would like to have a proguard example as well, would be great!

All 8 comments

I would recommend having your project that depends on ExoPlayer build it from source, in which case I think the proguard configuration is controlled by the project. When building the library as a jar, I'm not really sure that proguard is hugely useful. Although suggestions are welcome if you feel otherwise ;).

Yes, but it would be nice to know what the recommended proguard settings are for this project. If there is nothing extra or special from the Android default ones it doesn't really matter.

Although, I would think the way you suggest adding this project to gradle builds would prefer the provided proguard file in this project over my project as well. But then again I don't know that for sure.

There aren't really any recommendations. We don't have proguard settings for the project internally.

I think we're good leaving it up to people using the library to decide how they want to proguard it, so closing for now. We'll revisit if we get more similar requests.

I would like to have a proguard example as well, would be great!

some extension class seems needs to be keeped since they are using native code

I searched for string "Class.forName" through the whole project found that you should at least keep com.google.android.exoplayer2.ext.*

Proguard is clever enough to handle Class.forName(stringConstant) automatically. What is the actual problem you're seeing?

No problem, just want to enable proguard to make our app smaller. I am searching for proguard recommention and found this thread.

Was this page helpful?
0 / 5 - 0 ratings