Skip to content

Support declaring versions inside module-info #295

@PaintNinja

Description

@PaintNinja

Currently the dependency versions need to be in the version catalogue or buildscript. It would be nice if they could be parsed from comments inside the module-info, similar to how runtimeOnly deps are handled. For example:

module example {
    requires org.slf4j; // version 2.0.7
}

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