-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (46 loc) · 2.14 KB
/
build.gradle
File metadata and controls
53 lines (46 loc) · 2.14 KB
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
plugins {
id 'java'
id 'org.springframework.boot' version '2.6.14' // Spring Boot 2.x 최신 LTS 버전
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11) // Java 11 사용
}
}
repositories {
mavenCentral()
}
dependencies {
// Spring Boot
implementation 'org.jsoup:jsoup:1.15.3' // Add Jsoup
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-batch'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'mysql:mysql-connector-java:8.0.33'
implementation 'org.springframework.boot:spring-boot-starter-mail'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Spring Cloud 2020.x.x 버전 사용 (자바 11 호환)
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap' // Spring Cloud Config
implementation 'org.springframework.cloud:spring-cloud-starter-config' // Spring Cloud Config
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client' // Eureka 클라이언트 (서비스 등록)
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign' // Feign 클라이언트 (HTTP 호출)
// implementation 'org.springframework.cloud:spring-cloud-starter-bus-amqp' // Spring Cloud Bus
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j' // Circuit Breaker (Resilience4j)
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2021.0.0" // Spring Cloud 2020.x.x (자바 11 호환)
}
}
tasks.named('test') {
useJUnitPlatform()
}