blob: 0de22abccf3fa37eab1e5717e23f2d3ed5ed4727 (
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
|
description = 'Code relating to the Compute Engine shared between the Compute Engine and the Web Server'
sonarqube {
properties {
property 'sonar.projectName', "${projectTitle} :: Compute Engine :: Common"
}
}
sourceSets {
test {
resources {
srcDirs += ['src/test/projects']
}
}
}
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'
]
}
}
configurations {
testCompile.extendsFrom compileOnly
}
dependencies {
// please keep the list grouped by configuration and ordered by name
compile 'com.google.guava:guava'
compile 'org.slf4j:jul-to-slf4j'
compile 'org.slf4j:slf4j-api'
compile project(':server:sonar-ce-task')
compile project(':server:sonar-db-dao')
compile project(':server:sonar-server-common')
compile project(':sonar-core')
compile project(path: ':sonar-plugin-api', configuration: 'shadow')
compileOnly 'com.google.code.findbugs:jsr305'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'commons-lang:commons-lang'
testCompile 'junit:junit'
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.hamcrest:hamcrest-all'
testCompile project(':sonar-plugin-api-impl')
testCompile project(':server:sonar-db-testing')
testCompile project(path: ":server:sonar-server-common", configuration: "tests")
testRuntime 'com.h2database:h2'
}
|