sonarqube { properties { property 'sonar.projectName', "${projectTitle} :: Plugin API Dependencies" } } apply plugin: 'com.github.johnrengelman.shadow' dependencies { // Versions must not be changed and overridden from root build.gradle (see dependencyManagement section). // These are the versions defined in SQ 5.1 compile 'com.google.code.gson:gson:2.3.1' compile 'com.google.guava:guava:10.0.1' compile 'commons-beanutils:commons-beanutils:1.9.3' compile 'commons-codec:commons-codec:1.8' compile 'commons-collections:commons-collections:3.2.2' compile 'org.apache.commons:commons-email:1.3.2' compile 'commons-io:commons-io:2.4' compile 'commons-lang:commons-lang:2.6' compile('dom4j:dom4j:1.6.1') { exclude group: 'xml-apis' } compile 'org.picocontainer:picocontainer:2.14.3' compile 'org.slf4j:slf4j-api:1.7.10' compile 'ch.qos.logback:logback-classic:1.1.2' compile 'ch.qos.logback:logback-core:1.1.2' compile('org.apache.maven:maven-core:3.0.5') { exclude group: 'classworlds', module: 'classworlds' exclude group: 'org.sonatype.sisu', module: 'sisu-guava' } compile 'org.apache.maven:maven-artifact:3.0.5' compile('org.codehaus.sonar:sonar-squid:4.1') { exclude group: 'org.codehaus.sonar', module: 'sonar-check-api' } compile('org.codehaus.sonar:sonar-java-api:5.1') { exclude group: 'org.codehaus.sonar', module: 'sonar-deprecated' exclude group: 'org.codehaus.sonar', module: 'sonar-plugin-api' } } // This JAR is cached because used as a resource in sonar-core: shadowJar.outputs.cacheIf { true }