diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2019-08-14 11:07:17 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-08-14 20:21:16 +0200 |
commit | 98efbbadb8df0754a72292011e8ad3178abf90f2 (patch) | |
tree | 9b230b3f9b06078e085e98d486b7222f94f4269e /server/sonar-webserver-core/build.gradle | |
parent | b4694fd3ae3ef3cd0e189883b490057447842441 (diff) | |
download | sonarqube-98efbbadb8df0754a72292011e8ad3178abf90f2.tar.gz sonarqube-98efbbadb8df0754a72292011e8ad3178abf90f2.zip |
rename sonar-server to sonar-webserver-core
Diffstat (limited to 'server/sonar-webserver-core/build.gradle')
-rw-r--r-- | server/sonar-webserver-core/build.gradle | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/server/sonar-webserver-core/build.gradle b/server/sonar-webserver-core/build.gradle new file mode 100644 index 00000000000..9ff120d6cfb --- /dev/null +++ b/server/sonar-webserver-core/build.gradle @@ -0,0 +1,81 @@ +sonarqube { + properties { + property 'sonar.projectName', "${projectTitle} :: Web Server :: Core" + } +} + +import org.apache.tools.ant.filters.ReplaceTokens +processResources { + filesMatching('build.properties') { + filter ReplaceTokens, tokens: [ + 'buildNumber': release ? 'git rev-parse HEAD'.execute().text.trim() : 'N/A' + ] + } +} + +dependencies { + // please keep the list grouped by configuration and ordered by name + + compile 'ch.qos.logback:logback-access' + compile 'ch.qos.logback:logback-classic' + compile 'ch.qos.logback:logback-core' + compile 'com.google.code.gson:gson' + compile 'com.google.protobuf:protobuf-java' + compile 'commons-dbutils:commons-dbutils' + compile 'io.jsonwebtoken:jjwt-api' + compile 'io.jsonwebtoken:jjwt-impl' + compile 'org.apache.httpcomponents:httpclient' + compile 'org.apache.logging.log4j:log4j-api' + compile 'org.apache.tomcat.embed:tomcat-embed-core' + compile 'org.apache.commons:commons-dbcp2' + compile 'org.picocontainer:picocontainer' + compile 'org.slf4j:jul-to-slf4j' + compile 'org.slf4j:slf4j-api' + compile 'org.sonarsource.update-center:sonar-update-center-common' + compile 'org.mindrot:jbcrypt' + + compile project(':server:sonar-ce-common') + compile project(':server:sonar-ce-task') + compile project(':server:sonar-ce-task-projectanalysis') + compile project(':server:sonar-db-dao') + compile project(':server:sonar-db-migration') + compile project(':server:sonar-process') + compile project(':server:sonar-server-common') + compile project(':server:sonar-webserver-auth') + compile project(':server:sonar-webserver-common') + compile project(':server:sonar-webserver-es') + compile project(':sonar-core') + compile project(':sonar-duplications') + compile project(':sonar-scanner-protocol') + compile project(':sonar-markdown') + compile project(path: ':sonar-plugin-api', configuration: 'shadow') + compile project(':sonar-plugin-api-impl') + compile project(':sonar-ws') + + compileOnly 'com.google.code.findbugs:jsr305' + // not a transitive dep. At runtime lib/jdbc/h2 is used + compileOnly 'com.h2database:h2' + + testCompile 'com.github.kevinsawicki:http-request' + testCompile 'com.google.code.findbugs:jsr305' + testCompile 'com.squareup.okhttp3:mockwebserver' + testCompile 'com.tngtech.java:junit-dataprovider' + testCompile 'junit:junit' + testCompile 'org.apache.logging.log4j:log4j-api' + testCompile 'org.apache.logging.log4j:log4j-core' + testCompile 'org.assertj:assertj-core' + testCompile 'org.assertj:assertj-guava' + testCompile 'org.eclipse.jetty:jetty-server' + testCompile 'org.eclipse.jetty:jetty-servlet' + testCompile 'org.hamcrest:hamcrest-all' + testCompile 'org.mockito:mockito-core' + testCompile 'org.subethamail:subethasmtp' + testCompile project(':server:sonar-db-testing') + testCompile project(path: ":server:sonar-server-common", configuration: "tests") + testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests") + testCompile project(path: ":server:sonar-webserver-es", configuration: "tests") + testCompile project(path: ":server:sonar-webserver-ws", configuration: "tests") + testCompile project(':sonar-testing-harness') + + runtime 'io.jsonwebtoken:jjwt-jackson' +} |