aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-api/build.gradle
blob: 18082686d5423752144d23105fbe9cdc34a180a3 (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
description = 'SonarQube WebServer internal APIs, used by other Web Server modules or Core Extensions'

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

sourceSets {
  test {
    resources {
      srcDirs += ['src/test/projects']
    }
  }
}

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

  api 'com.google.guava:guava'
  api 'io.jsonwebtoken:jjwt-api'
  api 'io.jsonwebtoken:jjwt-impl'
  api 'org.sonarsource.api.plugin:sonar-plugin-api'
  api project(':sonar-core')
  api project(':server:sonar-process')
  api project(':server:sonar-server-common')
  api project(':sonar-plugin-api-impl')
  api 'org.mindrot:jbcrypt'

  compileOnlyApi 'com.google.code.findbugs:jsr305'
  compileOnlyApi 'javax.servlet:javax.servlet-api'

  testImplementation 'org.assertj:assertj-guava'
  testImplementation 'com.google.code.findbugs:jsr305'
  testImplementation 'com.tngtech.java:junit-dataprovider'
  testImplementation 'javax.servlet:javax.servlet-api'
  testImplementation 'org.mockito:mockito-core'
  testImplementation testFixtures(project(':server:sonar-server-common'))
  testImplementation project(':sonar-testing-harness')

  testFixturesApi 'junit:junit'

  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
}