diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-03-20 16:43:57 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-22 12:37:49 +0100 |
commit | 6e10e188b203737e1294ac6c59907607efb61bc0 (patch) | |
tree | ab6d6598746d73ee59f2106fa9fdad512d8fb03c | |
parent | 3cef0ae6a76c4fd7030fd3897f246a823f201615 (diff) | |
download | sonarqube-6e10e188b203737e1294ac6c59907607efb61bc0.tar.gz sonarqube-6e10e188b203737e1294ac6c59907607efb61bc0.zip |
Fix gradle configuration
-rw-r--r-- | plugins/sonar-xoo-plugin/build.gradle | 3 | ||||
-rw-r--r-- | server/sonar-server/build.gradle | 3 | ||||
-rw-r--r-- | sonar-scanner-engine/build.gradle | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/plugins/sonar-xoo-plugin/build.gradle b/plugins/sonar-xoo-plugin/build.gradle index ff4cd6c0080..5bd56009cde 100644 --- a/plugins/sonar-xoo-plugin/build.gradle +++ b/plugins/sonar-xoo-plugin/build.gradle @@ -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' diff --git a/server/sonar-server/build.gradle b/server/sonar-server/build.gradle index 251f852de2b..7242701eede 100644 --- a/server/sonar-server/build.gradle +++ b/server/sonar-server/build.gradle @@ -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' diff --git a/sonar-scanner-engine/build.gradle b/sonar-scanner-engine/build.gradle index f93ec9111fb..a61b85f1008 100644 --- a/sonar-scanner-engine/build.gradle +++ b/sonar-scanner-engine/build.gradle @@ -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' |