![]() ![]() ![]() includedescriptorclasses: boolean (default = false) Specifies whether the classes of the fields and methods specified in the keep tag must be kept as well. The keep settings can have the following named arguments that modify their behaviors: if: class_specification Specifies classes and class members that must be present to activate the keep option. ![]() Similarly, System.getProperty('') is expanded to the user's home directory, and System.getProperty('user.dir') is expanded to the current working directory. One way is to add the following line to your adle file: buildscript /lib/rt.jar" is expanded to something like '/usr/local/java/jdk/jre/lib/rt.jar'. For example, in the snippet below, ProGuard is configured to only process the release. Why: ProGuard tends to use a lot of memory which can expire the daemon or even require increasing its heap. If you have an Android project, you can find instructions here.īefore you can use the proguard task, you have to make sure Gradle can find it in its class path at build time. This is a top-level block and should be placed outside the android block. This implementation differs from the official ProGuard gradle plugin in the following points: How: Runs ProGuard in a separate process (via the command line interface) instead of in the Gradle daemon. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |