-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
66 lines (54 loc) · 1.35 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
61
62
63
64
65
group = 'org.springframework.samples.groovy'
description = 'Spring Groovy Bean Builder Example'
apply plugin: 'base'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'groovy'
repositories {
maven { url 'http://repo.spring.io/libs-milestone'}
maven { url 'http://repo.spring.io/libs-release'}
}
ext {
springVersion = '4.0.2.RELEASE'
junitVersion = '4.11'
slf4jVersion = '1.7.5'
log4jVersion = '1.2.17'
}
compileJava {
sourceCompatibility=1.6
targetCompatibility=1.6
}
compileTestJava {
sourceCompatibility=1.6
targetCompatibility=1.6
}
sourceSets {
main {
java {
srcDirs=[]
}
groovy {
srcDirs = ['src/main/java']
}
}
test {
java {
srcDirs=[]
}
groovy {
srcDirs = ['src/test/java']
}
resources {
srcDirs = ['src/test/resources']
}
}
}
dependencies {
testCompile "junit:junit:$junitVersion"
testCompile "org.springframework:spring-test:$springVersion"
compile "org.springframework:spring-context-support:$springVersion"
compile "org.codehaus.groovy:groovy-all:2.1.0"
runtime "log4j:log4j:$log4jVersion",
"org.slf4j:jcl-over-slf4j:$slf4jVersion",
"org.slf4j:slf4j-log4j12:$slf4jVersion"
}