Remove biz aqute bnd gradle plugin
The generated Manifest are not exactly the same. For instance, from what I understand the "uses" in Export-Package
was including only the packages appearing in the public API. It now also lists the packages used in the implementation. But I think the Manifest are still valid for OSGi. Example before/after for asm-util:
Export-Package: org.objectweb.asm.util;version="9.3";
uses:="org.objectweb.asm,org.objectweb.asm.signature"
Export-Package: org.objectweb.asm.util;version="9.4-SNAPSHOT";
uses:="org.objectweb.asm,org.objectweb.asm.signature,org.objectweb.asm.tree,org.objectweb.asm.tree.analysis"
Import-Package: org.objectweb.asm;version="[9.3,10)",
org.objectweb.asm.signature;version="[9.3,10)",
org.objectweb.asm.tree;version="[9.3,10)",
org.objectweb.asm.tree.analysis;version="[9.3,10)"
Import-Package: org.objectweb.asm;version="9.4-SNAPSHOT",
org.objectweb.asm.signature;version="9.4-SNAPSHOT",
org.objectweb.asm.tree;version="9.4-SNAPSHOT",
org.objectweb.asm.tree.analysis;version="9.4-SNAPSHOT"
Also the Module-Requires
now lists all transitive dependencies, as the module-info classes.