Do not shade com.intellij in embeddable compiler

This commit is contained in:
Ilya Chernikov
2017-09-13 19:56:03 +02:00
parent 1862c78bdc
commit 776f1c8d19
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -22,7 +22,8 @@ val compilerJar by configurations.creating
val kotlinEmbeddableRootPackage = "org.jetbrains.kotlin"
val packagesToRelocate =
listOf("com.intellij",
listOf(
// "com.intellij",
"com.google",
"com.sampullara",
"org.apache",
@@ -43,6 +44,8 @@ dependencies {
compile(project(":kotlin-reflect"))
}
noDefaultJar()
runtimeJar(task<ShadowJar>("embeddable")) {
destinationDir = File(buildDir, "libs")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE