-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (28 loc) · 881 Bytes
/
build.gradle
File metadata and controls
33 lines (28 loc) · 881 Bytes
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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'idea'
compileJava {
//enable compilation in a separate daemon process
options.fork = true
//enable incremental compilation
options.incremental = true
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
repositories {
mavenCentral()
}
ext {
springVersion = "4.2.4.RELEASE"
springSecurityVersion = "4.0.3.RELEASE"
}
dependencies {
providedCompile "javax.servlet:javax.servlet-api:3.1.0"
providedCompile "org.springframework:spring-context:$springVersion"
providedCompile "org.springframework:spring-webmvc:$springVersion"
providedCompile "org.springframework.security:spring-security-config:$springSecurityVersion"
providedCompile "org.springframework.security:spring-security-web:$springSecurityVersion"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}