diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2018-07-19 11:42:54 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-07-19 20:21:26 +0200 |
commit | e51cb49945d4f3a1d39f74234de49be8ca925fff (patch) | |
tree | 6dc4181f26a0f4895874e1c6fb1f83669a213839 /sonar-core/build.gradle | |
parent | 35428013060d9fb81e7119426e9bfe9858521d4a (diff) | |
download | sonarqube-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-core/build.gradle')
-rw-r--r-- | sonar-core/build.gradle | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sonar-core/build.gradle b/sonar-core/build.gradle index aad84e6dbfe..a2d0f1bb189 100644 --- a/sonar-core/build.gradle +++ b/sonar-core/build.gradle @@ -4,6 +4,10 @@ sonarqube { } } +configurations { + includeInResources +} + dependencies { // please keep list ordered @@ -20,6 +24,8 @@ dependencies { compileOnly 'com.google.code.findbugs:jsr305' + includeInResources project(path: ':sonar-plugin-api-deps', configuration: 'shadow') + testCompile 'com.tngtech.java:junit-dataprovider' testCompile 'junit:junit' testCompile 'org.assertj:assertj-core' @@ -30,6 +36,14 @@ dependencies { testCompileOnly 'com.google.code.findbugs:jsr305' } +// sonar-plugin-api.jar is copied into target JAR file +processResources { + into('/') { + from configurations.includeInResources + rename '(.*)-' + project.version + '-all.jar', '$1.jar' + } +} + // Used by sonar-db-core to run DB Unit Tests artifactoryPublish.skip = false publishing { |