forked from eomjinyoung/JavaWebProgramming
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (51 loc) · 1.29 KB
/
build.gradle
File metadata and controls
58 lines (51 loc) · 1.29 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
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
compileJava.options.encoding = 'UTF-8'
sourceCompatibility = 1.7
version = '1.0'
eclipse {
wtp {
facet {
facet name: 'jst.web', version: '3.0' // Servlet Spec Version 지정
facet name: 'jst.java', version: '1.7' // Java Version 지정, 1.7 ...
}
}
}
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.springframework:spring-webmvc:4.0.4.RELEASE'
compile 'org.mybatis:mybatis-spring:1.2.2'
compile 'org.springframework:spring-jdbc:4.0.4.RELEASE'
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'jstl:jstl:1.2'
compile 'org.reflections:reflections:0.9.9-RC1'
compile 'log4j:log4j:1.2.17'
compile 'mysql:mysql-connector-java:5.1.30'
compile 'org.mybatis:mybatis:3.2.6'
compile 'org.springframework:spring-context:4.0.4.RELEASE'
compile group: 'commons-collections',
name: 'commons-collections',
version: '3.2'
testCompile group: 'junit',
name: 'junit',
version: '4.+'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}