Skip to content

Commit

Permalink
chore: prepare for actual release
Browse files Browse the repository at this point in the history
  • Loading branch information
Citymonstret committed Oct 13, 2024
1 parent 37cebbd commit 0bf7417
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 5 deletions.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<h1>disruptor</h1>

![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)
</div>

Expand All @@ -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
<dependency>
<groupId>org.incendo</groupId>
<!-- disruptor-core, disruptor-spring, disruptor-openfeign -->
<artifactId>disruptor-core</artifactId>
<version>1.0.0</version>
</dependency>
```

**Gradle (Kotlin)**

```kotlin
implementation("org.incendo:disruptor-core:1.0.0")
```

**Gradle (Groovy)**

```groovy
implementation 'org.incendo:disruptor-core:1.0.0'
```

### Pure Java

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=org.incendo
version=1.0.0-SNAPSHOT
version=1.0.0
description=Disruptor

org.gradle.configureondemand=true
Expand Down
2 changes: 1 addition & 1 deletion openfeign/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

dependencies {
api(projects.disruptor.core)
api(projects.disruptor.disruptorCore)
api(libs.feign.core)

testImplementation(libs.wiremock)
Expand Down
7 changes: 6 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,10 @@ dependencyResolutionManagement {
rootProject.name = "disruptor"

include(":core")
findProject(":core")?.name = "disruptor-core"

include(":openfeign")
include(":spring")
findProject(":openfeign")?.name = "disruptor-openfeign"

include(":spring")
findProject(":spring")?.name = "disruptor-spring"
2 changes: 1 addition & 1 deletion spring/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tasks.named<BootJar>("bootJar") {
}

dependencies {
api(projects.disruptor.core)
api(projects.disruptor.disruptorCore)
implementation(libs.spring.boot.autoconfigure)

testImplementation(libs.spring.boot.starter.test)
Expand Down

0 comments on commit 0bf7417

Please sign in to comment.