]> source.dussan.org Git - sonarqube.git/commitdiff
Fix gradle configuration
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 20 Mar 2018 15:43:57 +0000 (16:43 +0100)
committerSonarTech <sonartech@sonarsource.com>
Thu, 22 Mar 2018 11:37:49 +0000 (12:37 +0100)
plugins/sonar-xoo-plugin/build.gradle
server/sonar-server/build.gradle
sonar-scanner-engine/build.gradle

index ff4cd6c0080922b805d59c43b3c8e367a0ed39a7..5bd56009cde27c0c4f985e9a7d2d105deb5e8010 100644 (file)
@@ -7,7 +7,8 @@ dependencies {
   compile 'commons-io:commons-io'
   compile 'commons-lang:commons-lang'
   compileOnly 'com.google.code.findbugs:jsr305'
-  compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow')
+  runtime project(path: ':sonar-plugin-api', configuration: 'shadow')
+  compileOnly project(path: ':sonar-plugin-api')
 
   testCompile 'junit:junit'
   testCompile 'org.assertj:assertj-core'
index 251f852de2b68d9a74519e1fd85df2447035683d..7242701eedec28ab566062c0d8e621dbbceabb4b 100644 (file)
@@ -46,7 +46,8 @@ dependencies {
     // already shaded with sonar-plugin-api
     exclude group: 'org.codehaus.sonar', module: 'sonar-channel'
   }
-  compile project(path: ':sonar-plugin-api', configuration: 'shadow')
+  runtime project(path: ':sonar-plugin-api', configuration: 'shadow')
+  compileOnly project(path: ':sonar-plugin-api')
   compile project(':sonar-ws')
 
   compileOnly 'com.google.code.findbugs:jsr305'
index f93ec9111fbbf91a8a4d0395ae9bfe5a57870f56..a61b85f100875c99aedb3d02186ffd6639bfccdd 100644 (file)
@@ -31,7 +31,8 @@ dependencies {
   compile project(':sonar-home')
   compile project(':sonar-scanner-protocol')
   compile project(':sonar-ws')
-  compile project(path: ':sonar-plugin-api', configuration: 'shadow')
+  runtime project(path: ':sonar-plugin-api', configuration: 'shadow')
+  compileOnly project(path: ':sonar-plugin-api')
 
   compileOnly 'com.google.code.findbugs:jsr305'