aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce/build.gradle
blob: 14b8794e61a2262d051320f884fe76f1d96c6781 (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
description = 'Compute Engine JVM application'

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

dependencies {
  // please keep the list grouped by configuration and ordered by name
  api 'com.google.guava:guava'
  api 'com.google.protobuf:protobuf-java'
  api 'com.hazelcast:hazelcast'
  api 'commons-io:commons-io'
  api 'com.zaxxer:HikariCP'
  api 'org.sonarsource.api.plugin:sonar-plugin-api'
  api project(':server:sonar-ce-common')
  api project(':server:sonar-ce-task')
  api project(':server:sonar-ce-task-projectanalysis')
  api project(':server:sonar-process')
  api project(':server:sonar-ce-task')
  api project(':server:sonar-server-common')
  api project(':sonar-core')
  api project(':sonar-plugin-api-impl')
  api project(':sonar-ws')
  
  compileOnlyApi 'com.google.code.findbugs:jsr305'

  testImplementation 'com.google.code.findbugs:jsr305'
  testImplementation 'com.tngtech.java:junit-dataprovider'
  testImplementation 'junit:junit'
  testImplementation 'org.assertj:assertj-core'
  testImplementation 'org.awaitility:awaitility'
  testImplementation 'org.junit.jupiter:junit-jupiter-api'
  testImplementation 'org.mockito:mockito-core'
  testImplementation 'org.slf4j:slf4j-api'
  testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'

  testImplementation testFixtures(project(':server:sonar-db-dao'))

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