-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
123 lines (93 loc) · 2.89 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
121
122
123
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.6'
}
ext {
springCloudVersion = "2023.0.3"
}
bootJar {
enabled = false
}
group = 'ott'
version = '0.0.1-SNAPSHOT'
subprojects {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
// JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// Lombok
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
// Validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// Security
// implementation 'org.springframework.boot:spring-boot-starter-security'
// testImplementation 'org.springframework.security:spring-security-test'
// Elasticsearch
implementation 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
// Web
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Devtools
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.3'
// H2 Database
runtimeOnly 'com.h2database:h2'
// MySQL
runtimeOnly 'com.mysql:mysql-connector-j'
// AOP
implementation 'org.springframework.boot:spring-boot-starter-aop'
// Feign Client
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
// Log
implementation 'org.springframework.boot:spring-boot-starter-logging'
// Testing
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// ChromeDriver
implementation 'org.seleniumhq.selenium:selenium-java:4.22.0'
// AWS
implementation 'software.amazon.awssdk:sns:2.20.12' // AWS SDK for SNS
implementation 'software.amazon.awssdk:core:2.20.12' // AWS SDK Core
// Email
implementation 'org.springframework.boot:spring-boot-starter-mail'
//jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
}
}
tasks.named('test') {
useJUnitPlatform()
}
bootJar {
enabled = true
}
jar {
enabled = false
}
}
// 루트 프로젝트에서는 bootJar를 비활성화
bootJar {
enabled = false
}
jar {
enabled = true
}