Build: Extract android ide modules from kotlin-plugin.jar to standalone jars
So we could exclude them in IDEs which don't have android plugin (AppCode, CLion)
This commit is contained in:
@@ -573,6 +573,8 @@ val cidrPlugin by task<Copy> {
|
||||
|
||||
exclude("lib/android-ide.jar")
|
||||
exclude("lib/android-output-parser-ide.jar")
|
||||
exclude("lib/android-extensions-ide.jar")
|
||||
exclude("lib/android-extensions-compiler.jar")
|
||||
}
|
||||
from(cidrKotlinPlugin) { into("lib") }
|
||||
}
|
||||
|
||||
@@ -572,6 +572,8 @@ val cidrPlugin by task<Copy> {
|
||||
|
||||
exclude("lib/android-ide.jar")
|
||||
exclude("lib/android-output-parser-ide.jar")
|
||||
exclude("lib/android-extensions-ide.jar")
|
||||
exclude("lib/android-extensions-compiler.jar")
|
||||
}
|
||||
from(cidrKotlinPlugin) { into("lib") }
|
||||
}
|
||||
|
||||
@@ -72,3 +72,8 @@ projectTest {
|
||||
|
||||
testsJar {}
|
||||
|
||||
runtimeJar {
|
||||
archiveName = "android-ide.jar"
|
||||
}
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
@@ -71,3 +71,8 @@ projectTest {
|
||||
|
||||
testsJar {}
|
||||
|
||||
runtimeJar {
|
||||
archiveName = "android-ide.jar"
|
||||
}
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
@@ -72,3 +72,8 @@ projectTest {
|
||||
|
||||
testsJar {}
|
||||
|
||||
runtimeJar {
|
||||
archiveName = "android-ide.jar"
|
||||
}
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
@@ -72,3 +72,8 @@ projectTest {
|
||||
|
||||
testsJar {}
|
||||
|
||||
runtimeJar {
|
||||
archiveName = "android-ide.jar"
|
||||
}
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
@@ -18,3 +18,8 @@ sourceSets {
|
||||
"test" {}
|
||||
}
|
||||
|
||||
runtimeJar {
|
||||
archiveName = "android-output-parser-ide.jar"
|
||||
}
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
@@ -29,8 +29,6 @@ val projectsToShadow by extra(listOf(
|
||||
":compiler:frontend.script",
|
||||
":idea:ide-common",
|
||||
":idea",
|
||||
":idea:idea-android",
|
||||
":idea:idea-android-output-parser",
|
||||
":idea:idea-core",
|
||||
":idea:idea-jvm",
|
||||
":idea:idea-jps-common",
|
||||
|
||||
Reference in New Issue
Block a user