Using plugin
gradle idea
gradle build -x test
Execute dependency check:
gradle dependencyCheckAggregate
gradle spotlessApply
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
gradle publish