Description
Currently darklaf
bundles the dependencies to the jar (e.g. darklaf-1.3.3.4.jar
), however, its pom.xml
still has the dependencies:
+--- com.github.weisj:darklaf -> 1.3.3.4
| +--- com.metsci.ext.com.kitfox.svg:svg-salamander:0.1.19
| +--- net.java.dev.jna:jna:4.1.0
| \--- org.swinglabs:jxlayer:3.0.4
It looks that it is not consistent.
It would be great if
a) darklaf
could either avoid shading the dependencies (e.g. to allow other projects to pick versions and avoid class duplication)
b) shade the dependencies (+repackage), and exclude the dependencies from POM file.
It would probably make sense to do both: publish shaded and non-shaded jars at the same time (e.g. under different artifactId or classifier).
Note: it would probably make sense to use Gradle's configurations to clarify which dependencies are included to the jar, and which are not (e.g. https://github.com/apache/calcite-avatica/blob/63525d7c772e3ef3db0747ef38f2f59ccdd9dbf6/standalone-server/build.gradle.kts#L90 )