Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 861 Bytes

README.md

File metadata and controls

60 lines (41 loc) · 861 Bytes

Gradle Single Module Template

Using plugin

Baseline

gradle idea

Build

gradle build -x test

Dependency Check

Execute dependency check:

gradle dependencyCheckAggregate

Spotless

gradle spotlessApply

Sonar

Configuration:

add gradle.properties in folder GRADLE_USER_HOME

add content:

nexusUsername=foo
nexusPassword=bar

systemProp.sonar.host.url=http://sonarqube.40coderplus.com
systemProp.sonar.login=keyForSonarqube

Execute sonar check:

gradle sonar

Publish to Maven

gradle publish