-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
92 lines (74 loc) · 2.68 KB
/
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
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
apply plugin:'application'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'java'
//eclipse project일땐위에 idea를 주석하고 이걸 풀어주세요
//apply plugin: 'eclipse'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
group = 'com.narratage.rental'
version = '1.0.0'
mainClassName = "com.narratage.rental.App"
ext{
hibernateVersion = "4.2.2.Final"
springVersion = "3.2.1.RELEASE"
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.1.6'
compile 'org.slf4j:slf4j-api:1.7.5'
compile 'org.springframework.data:spring-data-jpa:1.3.4.RELEASE'
compile 'org.hibernate:hibernate-core:4.2.2.Final'
compile 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final'
compile 'org.hibernate:hibernate-entitymanager:4.2.2.Final'
compile 'org.springframework:spring-core:3.2.1.RELEASE'
compile 'org.springframework:spring-context:3.2.1.RELEASE'
compile 'org.springframework:spring-aop:3.2.1.RELEASE'
compile 'org.springframework:spring-test:3.2.1.RELEASE'
compile 'org.springframework:spring-web:3.2.1.RELEASE'
compile 'org.springframework:spring-webmvc:3.2.1.RELEASE'
compile 'org.springframework:spring-tx:3.2.1.RELEASE'
compile 'org.springframework:spring-context-support:3.2.1.RELEASE'
compile 'org.springframework:spring-orm:3.2.1.RELEASE'
compile 'org.springframework:spring-jms:3.2.1.RELEASE'
compile 'org.springframework:spring-aspects:3.2.1.RELEASE'
compile 'org.springframework:spring-jdbc:3.2.1.RELEASE'
compile 'org.springframework:spring-beans:3.2.1.RELEASE'
compile 'org.aspectj:aspectjweaver:1.7.0'
compile 'cglib:cglib-nodep:2.2.2'
compile 'org.apache.poi:poi:3.8'
compile 'org.apache.poi:poi-ooxml:3.8'
compile 'org.hibernate:hibernate-validator:4.3.0.Final'
compile 'joda-time:joda-time:2.2'
compile 'mysql:mysql-connector-java:5.1.18'
compile 'org.hsqldb:hsqldb:2.3.0'
compile 'com.jolbox:bonecp:0.7.1.RELEASE'
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-all:1.9.5'
testCompile 'org.hamcrest:hamcrest-all:1.3'
}
sourceSets {
main {
groovy {
srcDirs = ['src/groovy']
}
}
test {
groovy {
srcDirs = ['src/test/groovy']
}
}
}
test{
//TODO @ContextConfiguration 설정이 제대로 안되는듯. 그때까진 잠시 DAO Test 는 gradle에서는 보류 Intellij 에서는 정상
exclude '**/*DAOTest.class'
}
[compileGroovy, compileTestGroovy]*.options*.encoding = 'UTF-8'
task initProject {
project.sourceSets*.allSource.srcDirTrees.flatten().dir.each { dir ->
dir.mkdirs()
}
}