Gradle
Getting started with Gradle
Release
The projects requires JDK 17. The project is published in Maven Central.
If you use Gradle, you can include Resilience4j modules as follows.
repositories {
mavenCentral()
}
dependencies {
implementation "io.github.resilience4j:resilience4j-circuitbreaker:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-ratelimiter:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-retry:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-bulkhead:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-cache:${resilience4jVersion}"
implementation "io.github.resilience4j:resilience4j-timelimiter:${resilience4jVersion}"
}
If you want to use everything:
dependencies {
implementation "io.github.resilience4j:resilience4j-all:${resilience4jVersion}"
}
Snapshot
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
Updated about 1 year ago