From c6b1d520f038be7622bb0a211fe3a493af3f5d44 Mon Sep 17 00:00:00 2001 From: Alexsandro Souza Date: Sun, 7 Jan 2024 17:43:23 +0000 Subject: [PATCH] Migrate to the latest version of smallrye --- .../src/main/kotlin/com/github/vlsi/jandex/JandexExtension.kt | 2 +- .../src/main/kotlin/com/github/vlsi/jandex/JandexPlugin.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexExtension.kt b/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexExtension.kt index 71acba9..3d687d8 100644 --- a/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexExtension.kt +++ b/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexExtension.kt @@ -23,7 +23,7 @@ import javax.inject.Inject open class JandexExtension @Inject constructor( objects: ObjectFactory ) { - val toolVersion = objects.property().convention("2.0.3.Final") + val toolVersion = objects.property().convention("3.0.5") val maxErrors = objects.property().convention(1000) val jandexBuildAction = objects.property() .convention(JandexBuildAction.BUILD_AND_INCLUDE) diff --git a/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexPlugin.kt b/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexPlugin.kt index 1fe8a9f..493f37a 100644 --- a/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexPlugin.kt +++ b/plugins/jandex-plugin/src/main/kotlin/com/github/vlsi/jandex/JandexPlugin.kt @@ -39,7 +39,7 @@ open class JandexPlugin : Plugin { project.extensions.create(JANDEX_TASK_NAME, JandexExtension::class.java) val jandexClasspath = configurations.create("jandexClasspath") { defaultDependencies { - add(project.dependencies.create("org.jboss:jandex:${jandexExtension.toolVersion.get()}")) + add(project.dependencies.create("io.smallrye:jandex:${jandexExtension.toolVersion.get()}")) } }