Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quarkus-update-recipes #2

Merged
merged 7 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies {
runtimeOnly("org.openrewrite:rewrite-templating:${rewriteVersion}")

runtimeOnly("ai.timefold.solver:timefold-solver-migration:latest.release")
runtimeOnly("io.quarkus:quarkus-update-recipes:latest.release")
runtimeOnly("org.axonframework:axon-migration:latest.release")
runtimeOnly("tech.picnic.error-prone-support:error-prone-contrib:latest.release")

Expand All @@ -33,11 +34,13 @@ tasks.withType<ShadowJar> {
archiveClassifier.set("")
dependencies {
include(dependency("ai.timefold.solver:timefold-solver-migration"))
include(dependency("io.quarkus:quarkus-update-recipes:.*"))
include(dependency("org.axonframework:axon-migration"))
include(dependency("tech.picnic.error-prone-support:error-prone-contrib"))
}
// Binary files for ErrorProne; not needed for recipes
exclude("**/*.refaster")
// Redeclares existing Quarkus and OpenRewrite recipes
exclude("**/ToLatest9.yml")
relocate("quarkus-updates", "META-INF.rewrite")
}
8 changes: 8 additions & 0 deletions src/main/resources/META-INF/rewrite/category.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ description: |
Timefold is a fork of OptaPlanner by its creator and other experts.
---
type: specs.openrewrite.org/v1beta/category
name: Quarkus
packageName: io.quarkus.updates
root: true
description: |
[Quarkus](https://quarkus.io/) is a Cloud Native, (Linux) Container First framework for writing Java applications.
The [quarkus-updates](https://github.com/quarkusio/quarkus-updates) repository contains the recipes used to update Quarkus projects to newer versions.
---
type: specs.openrewrite.org/v1beta/category
name: Axon Framework
packageName: org.axonframework
root: true
Expand Down