-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (34 loc) · 1.02 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'war'
sourceCompatibility = 1.5
version = '1.0'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
def springVersion = "3.2.0.RELEASE"
compile "org.springframework:spring-webmvc:$springVersion"
compile "org.springframework:spring-context-support:$springVersion"
compile 'log4j:log4j:1.2.17'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile "org.springframework:spring-test:$springVersion"
providedCompile 'javax.servlet:servlet-api:2.5'
compile 'org.aspectj:aspectjweaver:1.6.11'
}
processResources {
destinationDir = sourceSets.main.output.classesDir
}
processTestResources {
destinationDir = sourceSets.test.output.classesDir
}
idea {
module {
downloadSources = false
downloadJavadoc = false
excludeDirs += [file('.idea'), file('.gradle'), file('gradle')]
outputDir = sourceSets.main.output.classesDir
testOutputDir = sourceSets.test.output.classesDir
}
}