aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-es/build.gradle
blob: d69e85e01aa58d9729b7b8f3e67317015157ff77 (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
sonarqube {
  properties {
    property 'sonar.projectName', "${projectTitle} :: WebServer :: ES"
  }
}

configurations {
  tests

  testCompile.extendsFrom tests
}

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

  compile 'com.google.guava:guava'
  compile project(':server:sonar-server-common')
  compile project(':server:sonar-webserver-auth')
  compile project(path: ':sonar-plugin-api', configuration: 'shadow')

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

  testCompile 'org.apache.logging.log4j:log4j-api'
  testCompile 'org.apache.logging.log4j:log4j-core'
  testCompile 'org.assertj:assertj-guava'
  testCompile 'com.google.code.findbugs:jsr305'
  testCompile 'com.tngtech.java:junit-dataprovider'
  testCompile 'org.mockito:mockito-core'
  testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
  testCompile testFixtures(project(':server:sonar-server-common'))
  testCompile project(':sonar-testing-harness')
}

task testJar(type: Jar) {
  classifier = 'tests'
  from sourceSets.test.output
}

artifacts {
  tests testJar
}