-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
54 lines (44 loc) · 993 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
43
44
45
46
47
48
49
50
51
52
53
54
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.mapvine:gradle-cobertura-plugin:1.0'
}
}
apply plugin: "groovy"
apply plugin: "java"
apply plugin: "idea"
apply plugin: "eclipse"
apply plugin: 'cobertura'
description = "A lab showcasing some of the testing stuff in the Groovy ecosystem"
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenLocal()
mavenCentral()
}
configurations {
all*.exclude group: "commons-logging"
}
dependencies {
groovy "org.codehaus.groovy:groovy-all:1.8.8"
testCompile "org.spockframework:spock-core:0.7-groovy-1.8"
compile('org.slf4j:slf4j-api:1.6.2')
testRuntime('org.slf4j:jcl-over-slf4j:1.6.2')
testRuntime('org.slf4j:slf4j-log4j12:1.6.2')
}
task createWrapper(type: Wrapper) {
gradleVersion = '1.2'
}
idea {
project {
jdkName = '1.6'
languageLevel = '1.6'
}
}
cobertura {
format = 'html'
includes = ['**/*.java', '**/*.groovy']
}