


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. For example, in the snippet below, ProGuard is configured to only process the release. Similarly, System.getProperty('') is expanded to the user's home directory, and System.getProperty('user.dir') is expanded to the current working directory. This is a top-level block and should be placed outside the android block.

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'. 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.
