-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (49 loc) · 1.58 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.3'
}
group = 'kr.co.jayce'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
apply plugin: 'io.spring.dependency-management'
//configurations {
// mavenBom
//}
//
//dependencyManagement {
// imports {
// mavenBom ("io.github.resilience4j:resilience4j-bom:2.1.0")
// }
//}
repositories {
mavenCentral()
maven{
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
//ext {
// set('springCloudVersion', "2022.0.4")
// set('resilience4jVersion', "2.1.0")
//}
dependencies {
implementation platform("io.github.resilience4j:resilience4j-bom:2.1.0")
// implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.boot:spring-boot-starter-web'
/* resilience4j dependency */
implementation 'io.github.resilience4j:resilience4j-spring-boot3'
implementation 'io.github.resilience4j:resilience4j-all'
implementation 'io.github.resilience4j:resilience4j-reactor'
implementation 'org.projectlombok:lombok'
testImplementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test', Test) {
useJUnitPlatform()
}