aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-deps
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2018-07-19 11:42:54 +0200
committerSonarTech <sonartech@sonarsource.com>2018-07-19 20:21:26 +0200
commite51cb49945d4f3a1d39f74234de49be8ca925fff (patch)
tree6dc4181f26a0f4895874e1c6fb1f83669a213839 /sonar-plugin-api-deps
parent35428013060d9fb81e7119426e9bfe9858521d4a (diff)
downloadsonarqube-e51cb49945d4f3a1d39f74234de49be8ca925fff.tar.gz
sonarqube-e51cb49945d4f3a1d39f74234de49be8ca925fff.zip
Revert "SONAR-10541, SONAR-10331 Drop compatibility mode and clean plugin classloader"
This reverts commit 4dcb5245f1147048d122ff2d335a6b5b7364c565.
Diffstat (limited to 'sonar-plugin-api-deps')
-rw-r--r--sonar-plugin-api-deps/build.gradle42
1 files changed, 42 insertions, 0 deletions
diff --git a/sonar-plugin-api-deps/build.gradle b/sonar-plugin-api-deps/build.gradle
new file mode 100644
index 00000000000..e8620ce371a
--- /dev/null
+++ b/sonar-plugin-api-deps/build.gradle
@@ -0,0 +1,42 @@
+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 }