aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-core/build.gradle
blob: 7b9f8fc6c6b48062984680dceac762a0689cad8c (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
description = 'SonarQube WebServer-only code'

sonarqube {
  properties {
    property 'sonar.projectName', "${projectTitle} :: Web Server :: Core"
  }
}

import org.apache.tools.ant.filters.ReplaceTokens
processResources {
  filesMatching('build.properties') {
    filter ReplaceTokens, tokens: [
      'buildNumber': release ? 'git rev-parse HEAD'.execute().text.trim() : 'N/A'
    ]
  }
}

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

  compile 'ch.qos.logback:logback-access'
  compile 'ch.qos.logback:logback-classic'
  compile 'ch.qos.logback:logback-core'
  compile 'com.google.code.gson:gson'
  compile 'com.google.protobuf:protobuf-java'
  compile 'io.jsonwebtoken:jjwt-api'
  compile 'io.jsonwebtoken:jjwt-impl'
  compile 'org.apache.httpcomponents:httpclient'
  compile 'org.apache.logging.log4j:log4j-api'
  compile 'org.apache.tomcat.embed:tomcat-embed-core'
  compile 'org.apache.commons:commons-dbcp2'
  compile 'org.picocontainer:picocontainer'
  compile 'org.slf4j:jul-to-slf4j'
  compile 'org.slf4j:slf4j-api'
  compile 'org.sonarsource.update-center:sonar-update-center-common'
  compile 'org.mindrot:jbcrypt'

  compile project(':server:sonar-ce-common')
  compile project(':server:sonar-ce-task')
  compile project(':server:sonar-ce-task-projectanalysis')
  compile project(':server:sonar-db-migration')
  compile project(':server:sonar-process')
  compile project(':server:sonar-server-common')
  compile project(':server:sonar-webserver-api')
  compile project(':server:sonar-webserver-es')
  compile project(':sonar-core')
  compile project(':sonar-duplications')
  compile project(':sonar-scanner-protocol')
  compile project(':sonar-markdown')
  compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  compile project(':sonar-plugin-api-impl')
  compile project(':sonar-ws')

  compileOnly 'com.google.code.findbugs:jsr305'
  // not a transitive dep. At runtime lib/jdbc/h2 is used
  compileOnly 'com.h2database:h2'

  testCompile 'com.google.code.findbugs:jsr305'
  testCompile 'com.h2database:h2'
  testCompile 'com.squareup.okhttp3:mockwebserver'
  testCompile 'com.tngtech.java:junit-dataprovider'
  testCompile 'commons-dbutils:commons-dbutils'
  testCompile 'org.apache.logging.log4j:log4j-api'
  testCompile 'org.apache.logging.log4j:log4j-core'
  testCompile 'org.assertj:assertj-core'
  testCompile 'org.assertj:assertj-guava'
  testCompile 'org.eclipse.jetty:jetty-server'
  testCompile 'org.eclipse.jetty:jetty-servlet'
  testCompile 'org.hamcrest:hamcrest-all'
  testCompile 'org.mockito:mockito-core'
  testCompile 'org.subethamail:subethasmtp'
  testCompile testFixtures(project(':server:sonar-server-common'))
  testCompile testFixtures(project(':server:sonar-webserver-auth'))
  testCompile testFixtures(project(':server:sonar-webserver-es'))
  testCompile testFixtures(project(':server:sonar-webserver-ws'))
  testCompile project(':sonar-testing-harness')

  runtime 'io.jsonwebtoken:jjwt-jackson'
}