-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
74 lines (55 loc) · 2.1 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
plugins {
id 'java'
id 'org.springframework.boot' version "${springBootVersion}"
id 'io.spring.dependency-management' version "${springDependencyManagementVersion}"
id 'com.ewerk.gradle.plugins.querydsl'
}
group = "${projectGroup}"
version = "${applicationVersion}"
sourceCompatibility = "${javaVersion}"
jar.enabled = false
apply from: 'gradle/lombok.gradle'
apply from: 'gradle/querydsl.gradle'
apply from: 'gradle/testsupport.gradle'
repositories {
mavenCentral()
}
dependencies {
// Actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// Caffeine
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine'
// Swagger
implementation 'org.springdoc:springdoc-openapi-webmvc-core:1.6.14'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.14'
// Web
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// DB
implementation 'mysql:mysql-connector-java:8.0.32'
testImplementation 'com.h2database:h2'
// JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// SMTP
implementation 'org.springframework.boot:spring-boot-starter-mail'
// Utils
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'org.modelmapper:modelmapper:3.1.1'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
// configuration
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release = 17 // Java 17을 사용할 경우 release 17로 설정
}