sonarqube { properties { property 'sonar.projectName', "${projectTitle} :: Plugin API Implementation" } } dependencies { // please keep the list grouped by configuration and ordered by name compile 'commons-codec:commons-codec' compile 'commons-io:commons-io' compile 'commons-lang:commons-lang' compile 'org.apache.commons:commons-csv' compile 'org.sonarsource.api.plugin:sonar-plugin-api' compileOnly 'com.google.code.findbugs:jsr305' compileOnly 'junit:junit' testCompileOnly 'com.google.code.findbugs:jsr305' testCompile 'com.google.guava:guava' testCompile 'com.tngtech.java:junit-dataprovider' testCompile 'junit:junit' testCompile 'org.assertj:assertj-core' testCompile 'org.mockito:mockito-core' } import org.apache.tools.ant.filters.ReplaceTokens processResources { filter ReplaceTokens, tokens: [ 'project.version': project.version ] } artifactoryPublish.skip = false publishing { publications { mavenJava(MavenPublication) { from components.java if (release) { artifact sourcesJar artifact javadocJar } } } }