Articles Related
Management
Get
System.properties['system']
Set
gradle.properties
systemProp.gradle.wrapperUser=myuser
systemProp.gradle.wrapperPassword=mypassword
Command line
Using the -D command-line option
gradle -q -Dkey=value
Build script
- Kotlin
test.systemProperty('some.prop', 'value')
- Groovy
test.systemProperty 'some.prop', 'value'