-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (42 loc) · 1.49 KB
/
build.gradle
File metadata and controls
52 lines (42 loc) · 1.49 KB
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
group = 'org.springframework.samples'
version = '1.0.0.SNAPSHOT'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
//apply from: 'src/build/admin-tasks.gradle'
repositories {
//mavenRepo urls: 'http://maven.springframework.org/milestone'
mavenCentral()
}
dependencies {
//compile 'org.springframework:spring-context:3.1.0.M1'
// https://mvnrepository.com/artifact/org.springframework/spring-context
compile group: 'org.springframework', name: 'spring-context', version: '3.1.0.RELEASE'
// https://mvnrepository.com/artifact/org.springframework/spring-jdbc
compile group: 'org.springframework', name: 'spring-jdbc', version: '3.1.0.RELEASE'
//compile 'org.springframework:spring-jdbc:3.1.0.M1'
compile 'cglib:cglib-nodep:2.2'
compile 'hsqldb:hsqldb:1.8.0.10'
compile 'commons-logging:commons-logging:1.1.1'
compile 'log4j:log4j:1.2.16'
compile 'javax.inject:javax.inject:1'
//testCompile 'org.springframework:spring-test:3.1.0.M1'
testCompile 'junit:junit:4.7'
}
[compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:all']
sourceCompatibility = 1.8
targetCompatibility = 1.8
task wee(type: Wrapper) {
gradleVersion = '2.10' //we want gradle 2.10 to run this project
}
// consolidate source directories for ease of browsing
sourceSets {
main {
java { srcDir 'src/main' }
resources { srcDir 'src/main' }
}
test {
java { srcDir 'src/test' }
resources { srcDir 'src/test' }
}
}