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

Support jandex 3.2.0 (+ current workaround) #88

Open
GingerGeek opened this issue Jul 8, 2024 · 0 comments
Open

Support jandex 3.2.0 (+ current workaround) #88

GingerGeek opened this issue Jul 8, 2024 · 0 comments

Comments

@GingerGeek
Copy link

Jandex 3.2.0 has only been published under the io.smallrye maven coordinates. The currently released version of the plugin only supports jandex artifacts under the old org.jboss group.

Commit c6b1d52 switches the coordinates to io.smallrye but this hasn't been released yet.

In the interim, you can use the following work around to force Gradle to use the artifact at the new coordinates.

plugins {
    id("com.github.vlsi.jandex")
}

var jandexVersion = "3.2.0";

jandex {
    toolVersion = jandexVersion
}


// Remove once this commit has landed in a release of vlsi jandex plugin
// https://github.com/vlsi/vlsi-release-plugins/commit/c6b1d520f038be7622bb0a211fe3a493af3f5d44
configurations.jandexClasspath {
    resolutionStrategy.dependencySubstitution {
        substitute(module("org.jboss:jandex:$jandexVersion")).using(module("io.smallrye:jandex:$jandexVersion"))
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant