-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (60 loc) · 2.74 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
63
64
65
66
plugins {
id 'org.springframework.boot' version '2.4.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'htw.berlin.microservices.composite.chart'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
ext {
springCloudVersion = "2020.0.2"
resilience4jVersion = "1.7.0"
}
repositories {
mavenCentral()
}
jar {
enabled = false
}
dependencies {
implementation project(':api')
implementation project(':util')
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.security:spring-security-oauth2-resource-server'
implementation 'org.springframework.security:spring-security-oauth2-jose'
implementation 'org.springframework.cloud:spring-cloud-starter-stream-rabbit'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.retry:spring-retry'
implementation 'org.springdoc:springdoc-openapi-webflux-ui:1.5.2'
implementation 'org.springdoc:springdoc-openapi-common:1.5.2'
implementation "io.github.resilience4j:resilience4j-spring-boot2:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-reactor:${resilience4jVersion}"
implementation 'org.springframework.boot:spring-boot-starter-aop'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.cloud:spring-cloud-stream::test-binder'
testImplementation 'io.projectreactor:reactor-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
dependencies {
dependency "io.github.resilience4j:resilience4j-spring:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-annotations:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-consumer:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-core:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-circuitbreaker:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-ratelimiter:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-retry:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-bulkhead:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-timelimiter:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-micrometer:${resilience4jVersion}"
dependency "io.github.resilience4j:resilience4j-circularbuffer:${resilience4jVersion}"
}
}
test {
useJUnitPlatform()
}