-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (45 loc) · 1.41 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
apply plugin: 'java'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral();
}
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
group = 'scheduler'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url "http://repo.mycompany.com/maven2"
}
}
configurations {
provided
}
sourceSets {
main.compileClasspath += configurations.provided
test.compileClasspath += configurations.provided
test.runtimeClasspath += configurations.provided
}
dependencies {
compile 'com.google.guava:guava:17.0'
compile 'org.slf4j:slf4j-api:1.7.12'
compile 'com.google.code.findbugs:jsr305:2.0.3'
// todo switch to provided when release
compile 'org.springframework:spring-beans:4.1.6.RELEASE'
compile 'org.springframework:spring-context:4.1.6.RELEASE'
testCompile 'junit:junit:4.12'
testCompile 'org.codehaus.groovy:groovy-all:2.4.3'
testCompile 'org.spockframework:spock-unitils:1.0-groovy-2.4'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'org.slf4j:jcl-over-slf4j:1.7.12'
testCompile 'ch.qos.logback:logback-classic:1.1.2'
}
configurations {
all*.exclude group: 'commons-logging'
}
}