forked from LundOgBendsen/java-spring-gradle-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (29 loc) · 1.04 KB
/
build.gradle
File metadata and controls
38 lines (29 loc) · 1.04 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'jetty'
jettyRun {
httpPort = 8081
}
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.4'
compile group: 'org.springframework', name: 'spring-core', version: '4.2.6.RELEASE'
compile group: 'org.springframework', name: 'spring-web', version: '4.2.6.RELEASE'
compile group: 'org.springframework', name: 'spring-webmvc', version: '4.2.6.RELEASE'
compile group: 'jstl', name: 'jstl', version: '1.2'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.7'
compile group: 'org.slf4j', name: 'jcl-over-slf4j', version: '1.7.21'
// http://mvnrepository.com/artifact/org.slf4j/jcl-over-slf4j
compile('org.slf4j:jcl-over-slf4j:1.7.21') {
exclude group: 'commons-logging'
}
}
group = 'dk.lundogbendsen.examples'
sourceCompatibility = 1.8
targetCompatibility = 1.8
// Fix gradle version
task wrapper (type:Wrapper) {
gradleVersion="3.1"
}