Hi all! Does anyone know if there is any extra tri...
# gradle
s
Hi all! Does anyone know if there is any extra trick to override some Android-related gradle.properties when running a gradle build from a command-line? For example this:
Copy code
./gradlew app:assembleDebug -Dandroid.nonTransitiveRClass=false
does not seem to have any effect on my builds, like it's ignored ­čĄö
v
You are after
-P
which sets Gradle properties, not
-D
which sets system properties
s
Thanks! So would
org.gradle.unsafe.configuration-cache
be considered a system property then?
v
Some few properties need to be set as system property instead of Gradle property when set from the command line as they are needed eariler in the run than the Gradle properties are available. That one could well be one of those.
s
I see - thanks!
v
jvm properties for the daemon is probably another of these