aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-auth/build.gradle
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-08-12 15:24:22 +0200
committerSonarTech <sonartech@sonarsource.com>2019-08-14 20:21:14 +0200
commit2528f0d148c0f0c0f6e4022c423ac5d67dcb650a (patch)
treecfdd97e8868cffa3beb0d74011e3eec9dd7ab973 /server/sonar-webserver-auth/build.gradle
parente9ae396829a95e449d2e02934fc0567e7f09f833 (diff)
downloadsonarqube-2528f0d148c0f0c0f6e4022c423ac5d67dcb650a.tar.gz
sonarqube-2528f0d148c0f0c0f6e4022c423ac5d67dcb650a.zip
create webserver-auth and webserver-common from sonar-server
actual module names are sonar-webserver-auth and sonar-webserver-common
Diffstat (limited to 'server/sonar-webserver-auth/build.gradle')
-rw-r--r--server/sonar-webserver-auth/build.gradle55
1 files changed, 55 insertions, 0 deletions
diff --git a/server/sonar-webserver-auth/build.gradle b/server/sonar-webserver-auth/build.gradle
new file mode 100644
index 00000000000..b324ed2f69a
--- /dev/null
+++ b/server/sonar-webserver-auth/build.gradle
@@ -0,0 +1,55 @@
+sonarqube {
+ properties {
+ property 'sonar.projectName', "${projectTitle} :: WebServer :: Authentification and Identity"
+ }
+}
+
+configurations {
+ tests
+
+ testCompile.extendsFrom tests
+}
+
+dependencies {
+ // please keep the list grouped by configuration and ordered by name
+
+ compile 'com.google.code.gson:gson'
+ compile 'com.google.guava:guava'
+ compile 'io.jsonwebtoken:jjwt-api'
+ compile 'io.jsonwebtoken:jjwt-impl'
+ compile project(':sonar-core')
+ compile project(':server:sonar-db-dao')
+ compile project(':server:sonar-process')
+ compile project(':server:sonar-server-common')
+ compile project(':server:sonar-webserver-common')
+ compile project(path: ':sonar-plugin-api', configuration: 'shadow')
+ compile project(':sonar-plugin-api-impl')
+ compile 'org.mindrot:jbcrypt'
+
+ compileOnly 'com.google.code.findbugs:jsr305'
+ compileOnly 'javax.servlet:javax.servlet-api'
+
+ testCompile 'com.h2database:h2'
+ testCompile 'com.google.code.findbugs:jsr305'
+ testCompile 'com.tngtech.java:junit-dataprovider'
+ testCompile '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 'org.mockito:mockito-core'
+ testCompile project(':server:sonar-db-testing')
+ testCompile project(path: ":server:sonar-server-common", configuration: "tests")
+ testCompile project(path: ":server:sonar-webserver-ws", configuration: "tests")
+ testCompile project(':sonar-testing-harness')
+
+ runtime 'io.jsonwebtoken:jjwt-jackson'
+}
+
+task testJar(type: Jar) {
+ classifier = 'tests'
+ from sourceSets.test.output
+}
+
+artifacts {
+ tests testJar
+}