15 October 2020

Gradle cheat sheet

 Despite my preference for Maven, here it is a quick list of gradle commands:

1. basic build

gradle build

2. eclipse java14

It has issues with wrapped gradle for older gradle (6.2--)

3. tasks (list of possible task to execute)

./gradlew tasks
 

4. springboot 

gradle bootRun

5. version

./gradlew -version

6. sonarqube

plugins {
 id "org.sonarqube" version "3.0"
}

sonarqube {
 properties {
 property "sonar.sourceEncoding", "UTF-8"
 }
}

gradle sonarqube




No comments :

My Blog List

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.