aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-es/build.gradle
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-08-29 14:52:26 +0200
committerSonarTech <sonartech@sonarsource.com>2019-09-02 20:21:05 +0200
commit3b52502005319ab1d8fd012e33be5db5b83e6b90 (patch)
tree0972bcc5cfa4ef5e701faf625ab945af39d129a3 /server/sonar-webserver-es/build.gradle
parent8ff1049137fc4e90098b0cc816a27186ca836020 (diff)
downloadsonarqube-3b52502005319ab1d8fd012e33be5db5b83e6b90.tar.gz
sonarqube-3b52502005319ab1d8fd012e33be5db5b83e6b90.zip
use testFixtures instead of test configuration of webserver-es
Diffstat (limited to 'server/sonar-webserver-es/build.gradle')
-rw-r--r--server/sonar-webserver-es/build.gradle18
1 files changed, 2 insertions, 16 deletions
diff --git a/server/sonar-webserver-es/build.gradle b/server/sonar-webserver-es/build.gradle
index c95cc907dfe..1e72c130fc7 100644
--- a/server/sonar-webserver-es/build.gradle
+++ b/server/sonar-webserver-es/build.gradle
@@ -4,12 +4,6 @@ sonarqube {
}
}
-configurations {
- tests
-
- testCompile.extendsFrom tests
-}
-
dependencies {
// please keep the list grouped by configuration and ordered by name
@@ -28,15 +22,7 @@ dependencies {
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-webserver-auth'))
- testCompile testFixtures(project(':server:sonar-server-common'))
testCompile project(':sonar-testing-harness')
-}
-
-task testJar(type: Jar) {
- classifier = 'tests'
- from sourceSets.test.output
-}
-
-artifacts {
- tests testJar
+
+ testFixturesApi testFixtures(project(':server:sonar-server-common'))
}