显示图形用户界面
gradle --gui
分为4个item:
- Task Tree
- Favorites
- Command Line
- Setup
gradle配置文件
gradle的配置文件要写到gradle.properties文件中
gradle.properties
gradlePropertiesProp=gradlePropertiesValue
sysProp=shouldBeOverWrittenBySysProp
envProjectProp=shouldBeOverWrittenByEnvProp
systemProp.system=systemValue
build.gradle
task printProps {
doLast {
println commandLineProjectProp
println gradlePropertiesProp
println systemProjectProp
println envProjectProp
println System.properties['system']
}
}