You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Only bundle JARs that are not specific to the Gradle version.
it.extension =="jar"&&!("gradle"in it.path && gradle.gradleVersion in it.path)
}.map {
zipTree(it)
}
})
}
the bundled dependencies are not rewritten / shaded regarding their package locations. So depending on classpath ordering, e.g. the "wrong" Kotlin standard library could be used, resulting in strange errors like
While the gradle-plugin that the gradle-inspector injects into the build via an
init.gradle
script is already built as a fat JAR, seeort/plugins/package-managers/gradle-plugin/build.gradle.kts
Lines 60 to 80 in 9607cd0
the bundled dependencies are not rewritten / shaded regarding their package locations. So depending on classpath ordering, e.g. the "wrong" Kotlin standard library could be used, resulting in strange errors like
because the stdlib bundled with Gradle's Kotlin DSL is used instead of the one from the
gradle-plugin
.The general problem is a bit similar to #6798.
As a solution, either the Shadow plugin could be used with relocation, or the probably even more fitting Gr8 plugin could be used.
The text was updated successfully, but these errors were encountered: