gradlex-org / extra-java-module-info

A Gradle 6.8+ plugin to use legacy Java libraries as Java Modules in a modular Java project
Apache License 2.0
103 stars 6 forks source link

我有一个java17+gradle8.7的项目,在引入1.8的插件后构建模块报错,不知道是不是版本不兼容的问题,麻烦帮忙解答一下,谢谢 #133

Closed 66pi closed 3 months ago

66pi commented 3 months ago

Failed to transform accessors-smart-2.5.0.jar (net.minidev:accessors-smart:2.5.0) to match attributes {artifactType=jar, javaModule=true, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.

Execution failed for ExtraJavaModuleInfoTransform: D:\Enviroment\gradle-8.6\caches\modules-2\files-2.1\net.minidev\accessors-smart\2.5.0\aca011492dfe9c26f4e0659028a4fe0970829dd8\accessors-smart-2.5.0.jar. Not a module and no mapping defined: accessors-smart-2.5.0.jar