-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
125 lines (82 loc) · 3.79 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
plugins{
id 'org.springframework.boot' version '2.1.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.7.RELEASE'
id 'war'
id 'groovy'
id "io.freefair.lombok" version "3.4.0"
id 'jacoco'
id "net.saliman.cobertura" version "2.6.1"
id 'com.github.kt3k.coveralls' version '2.8.2'
}
wrapper {
gradleVersion = '5.4.1'
}
archivesBaseName = 'makingboard'
group = 'com.example'
//version = '0.0.1-SNAPSHOT'
targetCompatibility = 1.10
sourceCompatibility = 1.10
repositories {
mavenCentral()
jcenter()
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
dependencies {
// compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-aop'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-jdbc'
compile 'mysql:mysql-connector-java:8.0.12'
compile group: 'org.hibernate.validator', name: 'hibernate-validator', version: '6.0.16.Final'
compile group: 'com.querydsl', name: 'querydsl-jpa', version: '4.2.1'
compile group: 'com.querydsl', name: 'querydsl-apt', version: '4.2.1'
// compile("org.springframework.boot:spring-boot-starter-security")
// https://mvnrepository.com/artifact/org.springframework.security/spring-security-taglibs
// compile group: 'org.springframework.security', name: 'spring-security-taglibs', version: '5.1.2.RELEASE'
// property encryption ->
compile group: 'com.github.ulisesbocchio', name: 'jasypt-spring-boot-starter', version: '2.1.0'
compile group: 'javax.servlet', name: 'jstl', version: '1.2'
compile group: 'org.apache.tomcat.embed', name: 'tomcat-embed-jasper', version: '9.0.12'
//hibernate test bind error
compile group : 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test'
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.11.1'
developmentOnly group: 'org.springframework.boot', name: 'spring-boot-devtools'
//google oauth api
// https://mvnrepository.com/artifact/com.google.api-client/google-api-client
compile group: 'com.google.api-client', name: 'google-api-client', version: '1.29.2'
// https://mvnrepository.com/artifact/com.google.api-client/google-api-client-appengine
compile group: 'com.google.api-client', name: 'google-api-client-appengine', version: '1.29.2'
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
// https://mvnrepository.com/artifact/org.json/json
compile group: 'org.json', name: 'json', version: '20180813'
// // https://mvnrepository.com/artifact/com.h2database/h2
// testCompile group: 'com.h2database', name: 'h2', version: '1.4.197'
//swagger
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger2
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
cobertura.coverageFormats = ['html', 'xml'] // coveralls plugin depends on xml format report
//파일 복사 권한 설정용
task copyClientLoc(type: Copy) {
from "build/libs/"
into "build/libs/temp/"
include archivesBaseName+".war"
fileMode = 0770
}