Gradle

Links:
DSL:
https://docs.gradle.org/current/dsl/

Standard plugins:
https://docs.gradle.org/current/userguide/standard_plugins.html

java plugin:
https://docs.gradle.org/current/userguide/java_plugin.html

modes: 
quiet:
gradle -q [command]
with stacktraces:
gradle --stacktrace

Cache's functionality:
--offline
--refresh-dependencies
exclude task gradle dist -x test
list of projects, tasks:
gradle -q projects
gradle -q tasks
gradle -q tasks --all
show help of task:
gradle -q help --task libs
list dependency:
gradle dependencies
gradle -q dependencies api:dependencies webapp:dependencies 
gradle -q webapp:dependencyInsight --dependency groovy --configuration compile
list all properties:
gradle -q api:properties
dry run (shows all tasks that will be performed for the task): 
gradle -m build
Passing properties: 
gradle -Dtest.single=ThisUniquelyNamedTest test
gradle -Dtest.single=a/b/ test
gradle -DintegTest.single=*IntegrationTest integTest
gradle -D:proj1:test.single=Customer build
gradle -D:proj1:integTest.single=c/d/
list all possible plugins:
task showClasspath {
  doLast { 
    buildscript.configurations.classpath.each { 
      println it.name 
    } 
  } 
}