extra-java-module-info
extra-java-module-info copied to clipboard
A Gradle 6.8+ plugin to use legacy Java libraries as Java Modules in a modular Java project
Hi, I've been looking around, and call me stupid, but I can't seem to find a way to add the "opens _package_;" to the module-info file. Is this intentional and...
Hello. So A bit of context: I am pulling artifacts together, so they can be put in a native (outside of gradle) installer. I am doing this using a configuration,...
For example, to patch `io.netty:netty-transport-native-epoll` with classifier `linux-x86_64` you have to use the file name: ``` module("netty-transport-native-epoll-4.1.87.Final-linux-x86_64.jar", "io.netty.transport.epoll.linux.x86_64") ``` It should be possible to do it like this: ``` module("io.netty:netty-transport-native-epoll|linux-x86_64",...
This can happen e.g. with Guava, where the version can be `32.1.3-android` but the Jar name is `32.1.3-jre`. Scan: https://scans.gradle.com/s/xo55e6547gqcq This does not always happen. So it most likely depends...
Some Manifests contain an `Export-Package` entry for OSGi. We could offer an alternative to `exportAllPackages()` that respects this entry if present.
For context see #78 and #104. If we can detect that Gradle will eventually fail with this error, we could give a more actionable advice instead.
Currently, if a dependency that should be merged can not be found, most likely due to a missing verision, we give this error: > Jar not found: ... This can...
_Split out from #129_ Right now, for the transform input, we only know the file name. But we would like to know the `G:A` coordinates from which the Jar was...
Following up on [this request](https://github.com/gradlex-org/extra-java-module-info/issues/145#issuecomment-2407524189). As Java itself, this plugin produces invalid names for certain Jars if `deriveAutomaticModuleNamesFromFileNames = true` is used. As @satsen pointed out, sometimes there are patterns...
Hello, I tried your plugin and there was a problem with this library implementation 'xerces:xercesImpl:2.12.2' which contains the package org.w3c.dom, which is part of jdk.xml.dom. how to solve it in...