Infer Android Test Keep Rules
@CacheableTask
Generates proguard keep rules from the generated androidTestSourceJar and appTargetJar tasks, where the generates rules are based on what classes from appTargetJar are used by androidTestSourceJar.
This uses R8's TraceReferences CLI to perform the analysis.
This task's output is finally used as an input into the app variant's proguard transform task.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Enable more descriptive precondition checks in the CLI. If disabled, errors will be emitted to the generated proguard rules file instead.
Link copied to clipboard
Optional custom jvm arguments to pass into the exec. Useful if you want to enable debugging in R8.
Link copied to clipboard
Link copied to clipboard