gradleInitializing Gradle


Remarks

Terminology

  • Task - an atomic piece of work which a build performs. Tasks have inputs, outputs and task dependencies.
  • dependencies {} - Declares File or binary dependencies necessary to execute tasks. For example, org.slf4j:slf4j-api:1.7.21 is shorthand coordinates to a Maven dependency.
  • repositories {} - How Gradle finds files for external dependencies. Really, just a collection of files organized by group, name, and version. For example: jcenter() is a convenience method for maven { url 'http://jcenter.bintray.com/' } }, a Bintray Maven repository.