-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (62 loc) · 2.36 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
buildscript {
ext {
springBootVersion = '2.3.1.RELEASE'
lombokVersion = '1.18.12'
}
repositories() {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group 'kr.co.seok'
version 'v0.0.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
bootJar {
mainClassName = 'kr.co.seok.Application'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
// 롬복
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
// Spring security
implementation 'org.springframework.boot:spring-boot-starter-security'
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
runtime group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.1'
// swagger2, RESTFul
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
// mybatis, db
compile group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '1.3.2'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-jdbc', version: '2.4.1'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '2.4.1'
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.21'
// retrofit
compile group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.5.0'
// converter-gson
compile group: 'com.squareup.retrofit2', name: 'converter-gson', version: '2.5.0'
// 휴일계산
implementation files('libs/icu4j-4_8_2.jar')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}