diff --git a/README.md b/README.md index 81f0af2..787ccad 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@

disruptor

![license](https://img.shields.io/github/license/incendo/disruptor.svg) +[![central](https://img.shields.io/maven-central/v/org.incendo/disruptor-core)](https://search.maven.org/search?q=org.incendo) ![build](https://img.shields.io/github/actions/workflow/status/incendo/disruptor/build.yml?logo=github) @@ -13,7 +14,38 @@ library for introducing disruptions to your code to replicate an unstable live e - **spring:** spring integration - **openfeign:** feign integration -## Example +## Links + +- [JavaDoc (core)](https://javadoc.io/doc/org.incendo/disruptor-core/latest/index.html) +- [JavaDoc (openfeign)](https://javadoc.io/doc/org.incendo/disruptor-openfeign/latest/index.html) +- [JavaDoc (spring)](https://javadoc.io/doc/org.incendo/disruptor-spring/latest/index.html) + +## Usage + +### Installation + +**Maven**: + +```xml + + org.incendo + + disruptor-core + 1.0.0 + +``` + +**Gradle (Kotlin)** + +```kotlin +implementation("org.incendo:disruptor-core:1.0.0") +``` + +**Gradle (Groovy)** + +```groovy +implementation 'org.incendo:disruptor-core:1.0.0' +``` ### Pure Java diff --git a/gradle.properties b/gradle.properties index c3012a9..7583bf3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=org.incendo -version=1.0.0-SNAPSHOT +version=1.0.0 description=Disruptor org.gradle.configureondemand=true diff --git a/openfeign/build.gradle.kts b/openfeign/build.gradle.kts index fc77347..5201102 100644 --- a/openfeign/build.gradle.kts +++ b/openfeign/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } dependencies { - api(projects.disruptor.core) + api(projects.disruptor.disruptorCore) api(libs.feign.core) testImplementation(libs.wiremock) diff --git a/settings.gradle.kts b/settings.gradle.kts index df7dfda..6f1e78d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -30,5 +30,10 @@ dependencyResolutionManagement { rootProject.name = "disruptor" include(":core") +findProject(":core")?.name = "disruptor-core" + include(":openfeign") -include(":spring") \ No newline at end of file +findProject(":openfeign")?.name = "disruptor-openfeign" + +include(":spring") +findProject(":spring")?.name = "disruptor-spring" \ No newline at end of file diff --git a/spring/build.gradle.kts b/spring/build.gradle.kts index 31fc10d..80a1e8d 100644 --- a/spring/build.gradle.kts +++ b/spring/build.gradle.kts @@ -13,7 +13,7 @@ tasks.named("bootJar") { } dependencies { - api(projects.disruptor.core) + api(projects.disruptor.disruptorCore) implementation(libs.spring.boot.autoconfigure) testImplementation(libs.spring.boot.starter.test)