Skip to content

Support jandex 3.2.0 (+ current workaround) #88

Open
@GingerGeek

Description

@GingerGeek

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"))
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions