diff options
Diffstat (limited to 'server/sonar-webserver-es/build.gradle')
-rw-r--r-- | server/sonar-webserver-es/build.gradle | 44 |
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 +} |