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 module-info.java #144

Open
5 tasks done
cowwoc opened this issue Mar 12, 2024 · 3 comments
Open
5 tasks done

Add module-info.java #144

cowwoc opened this issue Mar 12, 2024 · 3 comments

Comments

@cowwoc
Copy link

cowwoc commented Mar 12, 2024

Checklist

  • I have looked into the Readme and the Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

Add support for Java Modules

Describe the ideal solution

Add module-info.java to this library

Alternatives and current workarounds

No response

Additional context

No response

@tanya732
Copy link
Contributor

Hi @cowwoc,

Thank you for your suggestion! Currently, our project is using Java 8, and module support (introduced in Java 9 with module-info.java) is not compatible with this version. Therefore, we're unable to add it at the moment. However, it's definitely on our roadmap, and we'll consider adding module-info.java when we upgrade to a version of Java that supports modules, most likely in a future release.

@cowwoc
Copy link
Author

cowwoc commented Jan 15, 2025

@tanya732 Actually, that is not true. You can add Java Module support while maintaining backwards compatibility for Java 8. Just add the module-info.class to META-INF/versions/9. See https://blog.gradle.org/mrjars#how-to-create-a-multi-release-jar-with-gradle for more information.

@tanya732
Copy link
Contributor

Hi @cowwoc,

Thank you for sharing the reference

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

2 participants