aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-es/build.gradle
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-08-12 17:48:03 +0200
committerSonarTech <sonartech@sonarsource.com>2019-08-14 20:21:14 +0200
commit3814e193bf5b1dab3b58b620a4b5614dfdcf056a (patch)
treef38b3ac438edd96be92e22298d55d742c996b050 /server/sonar-webserver-es/build.gradle
parent2528f0d148c0f0c0f6e4022c423ac5d67dcb650a (diff)
downloadsonarqube-3814e193bf5b1dab3b58b620a4b5614dfdcf056a.tar.gz
sonarqube-3814e193bf5b1dab3b58b620a4b5614dfdcf056a.zip
create sonar-webserver-es from sonar-server
Diffstat (limited to 'server/sonar-webserver-es/build.gradle')
-rw-r--r--server/sonar-webserver-es/build.gradle44
1 files changed, 44 insertions, 0 deletions
diff --git a/server/sonar-webserver-es/build.gradle b/server/sonar-webserver-es/build.gradle
new file mode 100644
index 00000000000..99c586d6ab3
--- /dev/null
+++ b/server/sonar-webserver-es/build.gradle
@@ -0,0 +1,44 @@
+sonarqube {
+ properties {
+ property 'sonar.projectName', "${projectTitle} :: WebServer :: ES"
+ }
+}
+
+configurations {
+ tests
+
+ testCompile.extendsFrom tests
+}
+
+dependencies {
+ // please keep the list grouped by configuration and ordered by name
+
+ compile 'com.google.guava:guava'
+ compile project(':server:sonar-server-common')
+ compile project(':server:sonar-webserver-auth')
+ compile project(path: ':sonar-plugin-api', configuration: 'shadow')
+
+ compileOnly 'com.google.code.findbugs:jsr305'
+ compileOnly 'javax.servlet:javax.servlet-api'
+
+ testCompile 'org.apache.logging.log4j:log4j-api'
+ testCompile 'org.apache.logging.log4j:log4j-core'
+ testCompile 'org.assertj:assertj-guava'
+ testCompile 'com.google.code.findbugs:jsr305'
+ testCompile 'com.h2database:h2'
+ testCompile 'com.tngtech.java:junit-dataprovider'
+ testCompile 'org.mockito:mockito-core'
+ testCompile project(':server:sonar-db-testing')
+ testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
+ testCompile project(path: ":server:sonar-server-common", configuration: "tests")
+ testCompile project(':sonar-testing-harness')
+}
+
+task testJar(type: Jar) {
+ classifier = 'tests'
+ from sourceSets.test.output
+}
+
+artifacts {
+ tests testJar
+}