aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-common/build.gradle
blob: 4f6caafbbb46214104f10cf18503beeb1f252c38 (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
54
description = 'Code shared between the Web Server and the Compute Engine'

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

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

  api 'org.apache.commons:commons-email'
  api 'commons-io:commons-io'
  api 'commons-lang:commons-lang'
  api 'com.google.guava:guava'
  api 'org.slf4j:slf4j-api'
  api 'com.squareup.okhttp3:okhttp'
  api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
  api 'org.sonarsource.api.plugin:sonar-plugin-api'
  api project(':server:sonar-db-dao')
  api project(':server:sonar-db-migration')
  api project(':server:sonar-process')
  api project(':sonar-core')
  api project(':sonar-markdown')
  api project(':sonar-ws')

  compileOnlyApi 'com.google.code.findbugs:jsr305'

  testImplementation 'org.elasticsearch.plugin:transport-netty4-client'
  testImplementation 'ch.qos.logback:logback-core'
  testImplementation 'com.google.code.findbugs:jsr305'
  testImplementation 'com.squareup.okhttp3:mockwebserver'
  testImplementation 'com.squareup.okio:okio'
  testImplementation 'com.tngtech.java:junit-dataprovider'
  testImplementation 'junit:junit'
  testImplementation 'org.apache.logging.log4j:log4j-api'
  testImplementation 'org.apache.logging.log4j:log4j-core'
  testImplementation 'org.assertj:assertj-core'
  testImplementation 'org.hamcrest:hamcrest-core'
  testImplementation 'org.mockito:mockito-core'
  testImplementation testFixtures(project(':server:sonar-db-dao'))
  testImplementation project(':sonar-plugin-api-impl')
  testImplementation project(':sonar-testing-harness')
    
  testFixturesApi 'junit:junit'
  testFixturesApi testFixtures(project(':server:sonar-db-dao'))

  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
  testFixturesImplementation 'org.elasticsearch.plugin:transport-netty4-client'

  testFixturesImplementation 'org.codelibs.elasticsearch.module:analysis-common'
  testFixturesImplementation 'org.codelibs.elasticsearch.module:reindex'
  testFixturesImplementation 'org.elasticsearch:mocksocket'
}