-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
39 lines (33 loc) · 915 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
sourceCompatibility = 1.5
group = "com.lx.spring"
version = '1.0'
configurations {
providedCompile.visible = false
compile.extendsFrom providedCompile
}
repositories {
mavenCentral()
}
dependencies {
compile('org.apache.velocity:velocity-tools:2.0') {
exclude(group: 'org.apache.struts')
}
providedCompile 'org.springframework:spring-webmvc:3.2.0.RELEASE'
providedCompile 'javax.servlet:servlet-api:2.5'
testCompile 'junit:junit:4.11'
testCompile 'org.springframework:spring-test:3.2.0.RELEASE'
}
sourceSets.each {
tasks.getByPath(it.processResourcesTaskName).destinationDir = it.output.classesDir
}
idea {
module {
inheritOutputDirs = false
downloadJavadoc = false
downloadSources = false
excludeDirs += [file('.idea'), file('.gradle'), file('gradle')]
}
}