Skip to content

JavaFX early access versions are considered stable #721

@Vampire

Description

@Vampire

🐛 Describe the bug

JavaFX early access versions like 23-ea+3 are considered stable.

⚠️ Current behavior

JavaFX early access versions are added as update comments

✅ Expected behavior

JavaFX early access versions are not added as update comments

💣 Steps to reproduce

  • depend on org.openjfx:javafx-base:13.0.1
  • do refreshVersions

Work-around

rejectVersionIf {
    fun Version.getAugmentedStabilityLevel() =
        // work-around for https://github.com/Splitties/refreshVersions/issues/721
        if ((moduleId.group == "org.openjfx") && (value.contains("ea"))) {
            StabilityLevel.EarlyAccessProgram
        } else {
            stabilityLevel
        }
    candidate.getAugmentedStabilityLevel().isLessStableThan(current.getAugmentedStabilityLevel())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions