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

version a file to capture the java version for the project #7

Open
travi opened this issue Feb 8, 2024 · 5 comments
Open

version a file to capture the java version for the project #7

travi opened this issue Feb 8, 2024 · 5 comments

Comments

@travi
Copy link
Member

travi commented Feb 8, 2024

should this encourage a single approach to this for consistency, or would it be better to enable multiple options as choices?

Known Options

Considerations

  • compatibility with the setup-java action
  • ability to leverage renovate to prevent the version from growing stale
@travi
Copy link
Member Author

travi commented Feb 8, 2024

renovate status:

  • jenv
  • sdkman (note that an issue was never opened)

@travi
Copy link
Member Author

travi commented Feb 8, 2024

possibly also worth considering asdf, which renovate does support

@travi
Copy link
Member Author

travi commented Feb 8, 2024

sdkman is not supported natively by setup-java, but there is a community supported action

@travi
Copy link
Member Author

travi commented Feb 8, 2024

it looks like the intention of the setup-java action is to only ever support the .java-version file (used by jenv)

@travi
Copy link
Member Author

travi commented Feb 8, 2024

https://github.com/marketplace/actions/java-info-action supports jenv and asdf approaches

GitHub
Fast Maven/Gradle parser detects and extracts info such as Java version, project version, encoding, build cmd and props

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