Skip to content

Add support for .sdkmanrc file in java-version-file parameter #669

Description

@fabasoad

Description:
Add support for .sdkmanrc file in java-version-file parameter.

Justification:
SDKMAN! is a popular package manager, especially for java ecosystem. Would be awesome to have an out of the box support for .sdkmanrc files in the same way as java-version-file currently supports .tool-versions by asdf.

Are you willing to submit a PR?
I hope I can find some time to file a PR.

Activity

  1. v-priyagupta108 commented on Aug 12, 2024

    @v-priyagupta108
    Contributor

    Hi @fabasoad 👋,
    Thank you for the feature request. We'll investigate it and get back to you as soon as we have updates.

  2. jamesdh commented on Oct 22, 2024

    @jamesdh

    Given the degree to which SDKMAN has proliferated, this would be helpful for keeping things DRY and not having to update versions in multiple places!

  3. joergi commented on Feb 13, 2025

    @joergi

    It seem there is now a PR for it #736 <3

    Looking forward for the merge

  4. v-gowridurgad commented on Nov 26, 2025

    @v-gowridurgad
    Contributor

    Hi @fabasoad ,

    Thanks for this feature request.

    I'm happy to let you know that @guicamest has implemented support for .sdkmanrc in the java-version-file parameter in PR #736. The implementation includes tests and documentation updates.

    To utilize this feature, Please use actions/setup-java@main branch in your workflows for now, and the changes will be reflected in the upcoming releases.

    This feature is available in the action. Closing this issue as the feature has been implemented.

    Thanks again for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature requestNew feature or request to improve the current logic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions