How to add compile options for compiling tests?
compileAndroidTestJava {
options.compilerArgs << "-s"
options.compilerArgs << "Foo"
doFirst {
}
}
The task is not called.
Tried:
compileAndroidDebugUnitTestJavaWithJavac {
}
compileAndroidDebugJavaWithJavac {
}
Error: Could not find these methods.
Aucun commentaire:
Enregistrer un commentaire