-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
42 lines (35 loc) · 1.12 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "io.ratpack:ratpack-gradle:1.7.5"
}
}
plugins {
id 'com.github.johnrengelman.shadow' version '5.0.0'
id 'java'
id 'groovy'
}
apply plugin: "io.ratpack.ratpack-java"
ext{
resilience4jVersion = '1.6.1'
}
repositories {
mavenLocal()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
jcenter()
}
dependencies {
implementation "io.github.resilience4j:resilience4j-ratpack:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-metrics:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-prometheus:${resilience4jVersion}"
implementation 'io.ratpack:ratpack-guice:1.7.5'
implementation 'io.ratpack:ratpack-dropwizard-metrics:1.7.5'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.2'
testImplementation 'org.codehaus.groovy:groovy-all:2.5.6'
testImplementation 'org.spockframework:spock-core:1.2-groovy-2.5'
testImplementation 'io.ratpack:ratpack-groovy-test:1.7.5'
}
// Define the main class for the application
mainClassName = 'io.github.resilience4j.ratpack.demo.Application'