-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathbuild.gradle
executable file
·42 lines (34 loc) · 914 Bytes
/
build.gradle
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
apply from: "$rootDir/gradle/envConfig.gradle"
apply from: "$rootDir/gradle/versioning.gradle"
apply plugin: 'sonar-runner'
sonarRunner {
sonarProperties {
property 'sonar.projectName', 'todo'
property 'sonar.projectDescription', 'A task management application'
}
}
allprojects {
apply plugin: 'idea'
group = 'com.manning.gia'
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java'
apply from: "$rootDir/gradle/jacoco.gradle"
ext.compatibilityVersion = '1.6'
sourceCompatibility = compatibilityVersion
targetCompatibility = compatibilityVersion
test {
reports.junitXml.destination = file("$reports.junitXml.destination/unit")
}
sonarRunner {
sonarProperties {
property 'sonar.sourceEncoding', 'UTF-8'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.7'
}