We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63044b1 commit d5275aaCopy full SHA for d5275aa
libraries/scripting/dependencies-maven-all/build.gradle.kts
@@ -42,6 +42,11 @@ noDefaultJar()
42
sourcesJar()
43
javadocJar()
44
45
+val mavenPackagesToRelocate = listOf(
46
+ "org.eclipse",
47
+ "org.codehaus"
48
+)
49
+
50
val relocatedJar by task<ShadowJar> {
51
configurations = listOf(embedded)
52
duplicatesStrategy = DuplicatesStrategy.INCLUDE
@@ -51,7 +56,7 @@ val relocatedJar by task<ShadowJar> {
56
transform(ComponentsXmlResourceTransformerPatched())
57
53
58
if (kotlinBuildProperties.relocation) {
54
- packagesToRelocate.forEach {
59
+ (packagesToRelocate + mavenPackagesToRelocate).forEach {
55
60
relocate(it, "$kotlinEmbeddableRootPackage.$it")
61
}
62
0 commit comments