Back to Build_Automation

See Also GroovyMaven

Gradle

1. Installation

https://gradle.org/install/

➜  ~ brew install gradle
==> Downloading https://services.gradle.org/distributions/gradle-4.10.2-all.zip
==> Downloading from https://downloads.gradle.org/distributions/gradle-4.10.2-all.zip
######################################################################## 100.0%
🍺  /usr/local/Cellar/gradle/4.10.2: 203 files, 83.7MB, built in 52 seconds
➜  ~ brew install gradle-completion
➜  ~ gradle buildEnvironment 

Welcome to Gradle 4.10.2!
...

2. Getting Started

2.1. Creating Build Scans

https://guides.gradle.org/creating-build-scans/

2.2. Building Java Libraries

https://guides.gradle.org/building-java-libraries/

➜  spring-boot-elasticsearch-2.x git:(master) ✗ gradle test --warning-mode all  

> Configure project :
The add() method has been deprecated. This method will cause an error in Gradle 6.0. Please use the create() or register() method instead.

BUILD SUCCESSFUL in 1s
4 actionable tasks: 4 up-to-date

3. Reference


CategoryTool

MainWiki: Gradle (last edited 2018-11-20 21:02:01 by twotwo)