aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-common/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-webserver-common/build.gradle')
-rw-r--r--server/sonar-webserver-common/build.gradle29
1 files changed, 29 insertions, 0 deletions
diff --git a/server/sonar-webserver-common/build.gradle b/server/sonar-webserver-common/build.gradle
new file mode 100644
index 00000000000..21daee76c7a
--- /dev/null
+++ b/server/sonar-webserver-common/build.gradle
@@ -0,0 +1,29 @@
+sonar {
+ properties {
+ property 'sonar.projectName', "${projectTitle} :: WebServer :: Common"
+ }
+}
+
+dependencies {
+ // please keep the list grouped by configuration and ordered by name
+ api 'com.google.guava:guava'
+
+ api project(':server:sonar-db-dao')
+ api project(':server:sonar-webserver-ws')
+
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'javax.servlet:javax.servlet-api'
+
+ testImplementation 'org.apache.logging.log4j:log4j-api'
+ testImplementation 'org.apache.logging.log4j:log4j-core'
+ testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+
+ testImplementation 'junit:junit'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.mockito:mockito-core'
+
+ testImplementation project(':sonar-testing-harness')
+ testImplementation testFixtures(project(':server:sonar-db-dao'))
+
+}