Skip to content

Commit

Permalink
Add AxonFramework migration recipes (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Feb 21, 2024
1 parent 2cbff6f commit a363898
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,24 @@ dependencies {

runtimeOnly("org.openrewrite:rewrite-java")
runtimeOnly("org.openrewrite:rewrite-templating:${rewriteVersion}")

runtimeOnly("org.axonframework:axon-migration:latest.release")
runtimeOnly("tech.picnic.error-prone-support:error-prone-contrib:latest.release")

testImplementation("org.openrewrite:rewrite-java")
testImplementation("org.openrewrite:rewrite-test")
testImplementation("tech.picnic.error-prone-support:error-prone-contrib:latest.release")

testImplementation("tech.picnic.error-prone-support:error-prone-contrib:latest.release")
testImplementation("org.junit.jupiter:junit-jupiter-engine:latest.release")

testRuntimeOnly("org.openrewrite:rewrite-java-17")
testRuntimeOnly("org.gradle:gradle-tooling-api:latest.release")
}

tasks.withType<ShadowJar> {
archiveClassifier.set("")
dependencies {
include(dependency("org.axonframework:axon-migration"))
include(dependency("tech.picnic.error-prone-support:error-prone-contrib"))
}
}
7 changes: 7 additions & 0 deletions src/main/resources/META-INF/rewrite/category.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ description: |
[Error Prone Support](https://github.com/PicnicSupermarket/error-prone-support) is a Picnic-opinionated extension of Google's [Error Prone](https://github.com/google/error-prone).
It aims to improve code quality, focussing on maintainability, consistency and avoidance of common pitfalls.
---
type: specs.openrewrite.org/v1beta/category
name: Axon Framework
packageName: org.axonframework
root: true
description: |
The [Axon Framework](https://axoniq.io/) is a Java framework for building high-performance, high-reliability applications with a focus on CQRS and Event Sourcing patterns.
---

0 comments on commit a363898

Please sign in to comment.