Apply shading/relocation to the subplugin example

This commit is contained in:
Sergey Igushkin
2018-02-14 17:42:29 +03:00
parent 1dadf84c40
commit 14e9930f94
@@ -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.