-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
114 lines (80 loc) · 2.39 KB
/
build.gradle
File metadata and controls
114 lines (80 loc) · 2.39 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
apply plugin: 'jetty'
//apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.7
targetCompatibility = 1.7
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
/*
plugins {
id 'io.spring.dependency-management' version '0.5.4.RELEASE'
}
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE'
}
}
*/
dependencies {
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'org.springframework:spring-webmvc:4.2.4.RELEASE'
compile 'org.springframework:spring-test:4.2.4.RELEASE'
compile 'org.springframework:spring-orm:4.2.4.RELEASE'
compile 'org.hibernate:hibernate-validator:4.2.0.Final'
compile 'javax.servlet:javax.servlet-api:3.1.0'
//compile 'commons-io:commons-io:2.4'
compile 'commons-fileupload:commons-fileupload:1.3.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.5'
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.6.5'
compile 'ch.qos.logback:logback-classic:1.1.3'
// compile 'ch.qos.logback:logback-core:1.1.3'
compile 'org.slf4j:slf4j-api:1.7.13'
compile 'org.slf4j:jcl-over-slf4j:1.7.13'
compile 'org.codehaus.woodstox:woodstox-core-asl:4.4.1'
compile 'com.google.code.gson:gson:2.5'
compile 'com.google.guava:guava:19.0'
compile 'org.mybatis:mybatis:3.3.0'
compile 'org.mybatis:mybatis-spring:1.2.3'
compile 'org.hsqldb:hsqldb:2.3.3'
compile 'org.aspectj:aspectjweaver:1.8.8'
compile 'commons-beanutils:commons-beanutils:1.9.2'
compile fileTree(dir: 'lib', include: '*.jar')
testCompile group: 'junit', name: 'junit', version: '4.12'
}
configurations {
all.collect { configuration ->
configuration.exclude group: 'commons-logging', module: 'commons-logging'
}
}
// Embeded Jetty for testing
jettyRun{
contextPath = "default"
httpPort = 8080
}
jettyRunWar{
contextPath = "default"
httpPort = 8080
}
eclipse {
wtp {
component {
contextPath = 'default'
facet {
facet name: 'jst.web', version: '3.0' // Servlet Spec Version 2.4
facet name: 'jst.java', version: '1.7' // Java Version
}
}
}
}
test {
systemProperties 'property': 'value'
}