Apply shading/relocation to the subplugin example
This commit is contained in:
@@ -30,3 +30,8 @@ dependencies {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Relocate `com.intellij.*` and some other classes to match those in the `kotlin-compiler-embeddable`
|
||||
// (for example, the actual package at runtime is `org.jetbrains.kotlin.com.intellij.*`):
|
||||
ArtifactsKt.runtimeJar(project, EmbeddableKt.rewriteDepsToShadedCompiler(project, jar, {}), {})
|
||||
// In a standalone build, you can setup the relocation with the Shadow plugin.
|
||||
Reference in New Issue
Block a user