-
Notifications
You must be signed in to change notification settings - Fork 44
/
build.gradle
58 lines (48 loc) · 1.5 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
buildscript {
ext {
springBootVersion = '1.5.20.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
jar {
baseName = 'resilience4j-spring-boot-demo'
version = '0.17.0'
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
//jcenter()
//maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
ext{
resilience4jVersion = '0.17.0'
microMeterVersion = '1.1.4'
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-aop')
compile('io.reactivex.rxjava2:rxjava:2.2.8')
compile("io.micrometer:micrometer-spring-legacy:${microMeterVersion}")
compile("io.micrometer:micrometer-registry-prometheus:${microMeterVersion}")
compile("io.github.resilience4j:resilience4j-spring-boot:${resilience4jVersion}")
compile("io.github.resilience4j:resilience4j-micrometer:${resilience4jVersion}")
compile("io.github.resilience4j:resilience4j-rxjava2:${resilience4jVersion}") // Optional
compile("io.vavr:vavr-jackson:0.9.1")
testCompile('org.springframework.boot:spring-boot-starter-test')
}
task wrapper(type: Wrapper) {
gradleVersion = '4.6'
}