-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (47 loc) · 1.64 KB
/
build.gradle
File metadata and controls
59 lines (47 loc) · 1.64 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
54
55
56
57
58
59
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'com.APIgateway'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2023.0.3")
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
//implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.0'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
// JJWT 의존성 추가
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
// Jackson 의존성
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.0' // Spring Boot와 호환되는 버전
// 테스트 의존성
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// Lombok 관련 의존성
compileOnly 'org.projectlombok:lombok' // Lombok (컴파일 전용)
annotationProcessor 'org.projectlombok:lombok' // Lombok 애너테이션 프로세서
// spring cloud for native
implementation 'org.springframework.cloud:spring-cloud-starter-kubernetes-client-all:3.1.3'
implementation 'org.springframework.cloud:spring-cloud-starter-kubernetes:1.1.10.RELEASE'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}