Créer un site internet

Getting Started with Gradle

What does gradle do?

  • Build deploument artifacts
  • Manage dependecies.

 

Gradle parses the gradle.build file.

How to add Gradle to a simple java project?

  • Create build.gradle file
  • Add source code declaration to build.gradle file.
  • Add external library dependecies.
  • Add repository declaration.

What is Gradle wrapper?

  • It is a thin layer around grable 
  • Checks to see that the requested version of gradle is installed.
  • Passes the commands onto the real gradle.

 

Command : ./gradlew build

 

Add a comment