spring-cloud / spring-cloud-circuitbreaker

Spring Cloud Circuit Breaker API and Implementations
Apache License 2.0
335 stars 110 forks source link

what repository should i use? #42

Closed larry-troy closed 5 years ago

larry-troy commented 5 years ago

I tried it in gradle like this

maven { url "https://repo.spring.io/libs-snapshot-local" }

compile 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:0.0.1.BUILD-SNAPSHOT'

but the library is not installed, what repository should i use?

larry-troy commented 5 years ago

I found a solution, please add it to the documentation in the installation section in gradle:

repositories { mavenLocal () maven { url 'https://repo.spring.io/libs-snapshot-local' } maven { url 'https://repo.spring.io/plugins-release/' } maven { url 'https://repository.jboss.org/nexus/content/repositories/public/' } mavenCentral () }

dependencies { compile "org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j .0:0.0.0.0.1.BUILD-SNAPSHOT" }