-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
97 lines (78 loc) · 3.38 KB
/
build.gradle
File metadata and controls
97 lines (78 loc) · 3.38 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
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
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.6'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'org.sesac'
bootJar {
archiveFileName = 'core-gateway.jar'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2023.0.4")
}
dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// lombok
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// spring cloud
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.cloud:spring-cloud-starter-gateway-mvc'
implementation 'org.springframework.cloud:spring-cloud-starter-kubernetes-client'
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
// implementation 'org.springframework.cloud:spring-cloud-starter-config'
// spring security
implementation 'org.springframework.boot:spring-boot-starter-security'
testImplementation 'org.springframework.security:spring-security-test'
// spring redis session
implementation 'org.springframework.session:spring-session-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// auth0 security
implementation 'com.okta.spring:okta-spring-boot-starter:+'
// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
implementation 'org.springframework.boot:spring-boot-starter-validation'
// database
runtimeOnly 'com.mysql:mysql-connector-j'
// log
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation 'io.zipkin.reporter2:zipkin-reporter-brave'
implementation 'io.micrometer:micrometer-tracing-bridge-brave'
implementation 'io.micrometer:micrometer-registry-otlp'
implementation 'io.zipkin.contrib.otel:encoder-brave:0.1.0'
runtimeOnly 'com.github.loki4j:loki-logback-appender:1.5.2'
implementation "io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter"
implementation 'io.opentelemetry:opentelemetry-api:1.27.0'
implementation 'io.opentelemetry:opentelemetry-context:1.27.0'
implementation 'io.opentelemetry:opentelemetry-sdk:1.27.0'
implementation 'io.opentelemetry:opentelemetry-sdk-metrics:1.27.0'
implementation 'io.micrometer:micrometer-core'
// circuit breaker
implementation 'io.github.resilience4j:resilience4j-micrometer'
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j'
// retry
implementation 'org.springframework.retry:spring-retry'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
mavenBom "io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.6.0"
}
}
tasks.named('test') {
useJUnitPlatform()
}