-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle.kts
56 lines (42 loc) · 1.54 KB
/
build.gradle.kts
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
plugins {
application
id("org.springframework.boot") version ("3.1.5")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
apply(plugin = "io.spring.dependency-management")
the<io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension>().apply {
imports {
mavenBom("io.github.resilience4j:resilience4j-bom:2.1.0")
}
}
repositories {
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
//configurations.all {
// resolutionStrategy.cacheChangingModulesFor 0, "seconds"
//}
val resilience4jVersion = "2.1.0"
tasks.withType<Test> {
useJUnitPlatform()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-aop")
implementation("io.github.resilience4j:resilience4j-spring-boot3")
implementation("io.github.resilience4j:resilience4j-all") // Optional, only required when you want to use the Decorators class
implementation("io.github.resilience4j:resilience4j-reactor")
implementation("io.micrometer:micrometer-registry-prometheus")
//implementation("de.codecentric:chaos-monkey-spring-boot:2.6.1")
implementation("io.vavr:vavr-jackson:0.10.3")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
}