-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.32 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.12.1"
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.4'
}
}
apply from: "$rootDir/gradle/sonar.gradle"
allprojects {
group = 'com.iadams.sonarqube'
version = '1.5-RC1'
}
subprojects {
apply plugin: 'groovy'
apply plugin: "info.solidsoft.pitest"
apply from: "$rootDir/gradle/jacoco.gradle"
apply from: "$rootDir/gradle/publishing.gradle"
apply plugin: "com.github.hierynomus.license"
license {
header rootProject.file('LICENSE')
includes(["**/*.java", "**/*.groovy"])
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
jcenter()
}
ext {
sonarVersion = '5.6.6'
sslrVersion = '1.21'
}
dependencies {
testCompile "org.spockframework:spock-core:1.0-groovy-2.3"
testRuntime "cglib:cglib-nodep:3.1" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:2.1"
// allows mocking of classes without default constructor (together with CGLIB)
}
test {
testLogging {
events "failed"
exceptionFormat "full"
}
maxParallelForks 4
}
}
apply from: "$rootDir/gradle/coveralls.gradle"