Skip to content

META-INF/services is incorrectly set up, causing issues when trying to use jline with badass-jlink-plugin #1523

@mateusfccp

Description

@mateusfccp

When trying to include jline in a jlink package with badass-jlink-plugin, an error is thrown on build step:

<project_module>/module-info.java:48: error: 'with' expected
provides org/jline/terminal/provider/jansi with class = org.jline.terminal.impl.jansi.JansiTerminalProvider;

According to this comment, this issue is caused by a misconfiguration of the META-INF/services.

Refer to the aforementioned issue for more details about the error and the full explanation about what should be done.

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