aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-auth/build.gradle
blob: 121114d1d8a70ead8d0acf6f7568c045ddb04fc4 (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
52
53
sonar {
  properties {
    property 'sonar.projectName', "${projectTitle} :: WebServer :: Authentification and Identity"
  }
}

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

  api 'com.google.code.gson:gson'
  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(':server:sonar-webserver-api')
  api project(':sonar-plugin-api-impl')
  api project(':server:sonar-auth-ldap')
  api 'org.mindrot:jbcrypt'

  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
  compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'

  testImplementation 'com.tngtech.java:junit-dataprovider'
  testImplementation 'jakarta.servlet:jakarta.servlet-api'
  testImplementation 'org.apache.logging.log4j:log4j-api'
  testImplementation 'org.apache.logging.log4j:log4j-core'
  testImplementation 'org.assertj:assertj-guava'
  testImplementation 'org.junit.jupiter:junit-jupiter-api'
  testImplementation 'org.mockito:mockito-core'
  testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  testImplementation testFixtures(project(':server:sonar-server-common'))
  testImplementation project(':sonar-testing-harness')

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

  runtimeOnly 'io.jsonwebtoken:jjwt-jackson'

  testFixturesApi 'junit:junit'

  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
  testFixturesCompileOnly 'org.junit.jupiter:junit-jupiter-api'

  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()
}