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

ClassInfo.annotationsMap() not compatible with older versions of Jandex #19

Closed
dzatrifork opened this issue Jul 27, 2022 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@dzatrifork
Copy link

Hi

After I've tried to update to version 0.13.0 of the jandex-gradle-plugin I've encountered an issue with compatibility to the jandex version, due to Helidon version 2.5.1 only being compatible with Jandex 2.3.x (Version 9), resulting in

Caused by: org.jboss.jandex.UnsupportedVersion: Version: 10

To fix this I've been trying to change the version of Jandex, but it seems that version 0.13.0 of the gradle plugin is only compatible with Jandex 2.4.3.Final, since java.util.Map org.jboss.jandex.ClassInfo.annotationsMap() is only available as of that version and results in the following, whenever the version is changed to something else:

Execution failed for task ':jandex'.
> A failure occurred while executing org.kordamp.gradle.plugin.jandex.tasks.JandexWorkAction
   > 'java.util.Map org.jboss.jandex.ClassInfo.annotationsMap()'

Not sure, how to fix this since java.util.Map org.jboss.jandex.ClassInfo.annotations is deprecated.

@aalmiray aalmiray added the bug Something isn't working label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants