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.