gradlew dependencies
gradlew.bat -b migration-job/build.gradle build
gradlew.bat -q build
https://docs.gradle.org/current/userguide/build_environment.html gradle -Dorg.gradle.debug=true --no-daemon clean
gradlew build -x test gradlew test --test "com.example.android.testing.blueprint.unit.integrationTests.*"
gradlew test -Dtest.single=< wildcard of test > build
gradle init --groovy-application
gradle init --type java-library
- java-application
- java-library
- scala-library
- groovy-library
- basic
add into build.gradle
task runScript (dependsOn: 'classes', type: JavaExec) {
main = 'App'
classpath = sourceSets.main.runtimeClasspath
}
execute script
gradle runtScript
gradle build -Dhttp.proxyHost=proxy-host -Dhttp.proxyPort=8080 -Dhttp.proxyUser=q4577777 -Dhttp.proxyPassword=my-password