aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver/build.gradle
blob: ab1bd8f471544cb7d189b8cc56e3daf6e1760259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
description = 'SonarQube WebServer executable and Tomcat directly related code'

sonar {
  properties {
    property 'sonar.projectName', "${projectTitle} :: WebServer"
  }
}

dependencies {
  // please keep the list grouped by configuration and ordered by name

  api 'com.google.guava:guava'
  api 'org.apache.tomcat.embed:tomcat-embed-core'
  api project(':sonar-core')
  api project(':server:sonar-auth-bitbucket')
  api project(':server:sonar-auth-github')
  api project(':server:sonar-auth-gitlab')
  api project(':server:sonar-auth-ldap')
  api project(':server:sonar-auth-saml')
  api project(':server:sonar-ce-task-projectanalysis')
  api project(':server:sonar-process')
  api project(':server:sonar-webserver-core')
  api project(':server:sonar-webserver-webapi')
  api project(':server:sonar-webserver-webapi-v2')
  api project(':server:sonar-webserver-pushapi')
  api project(':server:sonar-webserver-monitoring')

  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'

  testImplementation 'org.apache.logging.log4j:log4j-api'
  testImplementation 'org.apache.logging.log4j:log4j-core'
  testImplementation 'com.github.spotbugs:spotbugs-annotations'
  testImplementation 'com.tngtech.java:junit-dataprovider'
  testImplementation 'org.junit.jupiter:junit-jupiter-api'
  testImplementation 'org.mockito:mockito-core'
  testImplementation 'org.eclipse.jetty:jetty-server'
  testImplementation 'org.eclipse.jetty:jetty-servlet'
  testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  testImplementation testFixtures(project(':server:sonar-server-common'))
  testImplementation testFixtures(project(':server:sonar-webserver-auth'))
  testImplementation testFixtures(project(':server:sonar-webserver-es'))
  testImplementation project(':sonar-testing-harness')

  testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
}

test {
  // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
  useJUnitPlatform()
}