Rename ide-artifacts project to ide-plugin-dependencies

This commit is contained in:
Yan Zhulanow
2020-05-07 20:10:26 +09:00
parent 066b6d830f
commit 9d1c405b3c
15 changed files with 26 additions and 26 deletions
@@ -0,0 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-allopen-compiler-plugin"))
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishTestJar(":compiler:incremental-compilation-impl")
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":plugins:android-extensions-compiler"))
}
@@ -0,0 +1,8 @@
idePluginDependency {
@Suppress("UNCHECKED_CAST")
val compilerComponentProjects = project(":kotlin-jps-plugin").extra["compilerComponents"] as List<String>
val otherProjects = listOf(":kotlin-daemon-client")
publishProjectJars(compilerComponentProjects + otherProjects)
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishTestJar(":compiler:incremental-compilation-impl")
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishTestJar(":kotlin-build-common")
}
@@ -0,0 +1,29 @@
idePluginDependency {
val compilerModules: Array<String> by rootProject.extra
val excludedCompilerModules = listOf(
":compiler:cli-js-klib",
":compiler:javac-wrapper",
":compiler:backend.js",
":compiler:backend.wasm",
":js:js.dce",
":compiler:ir.serialization.js",
":compiler:incremental-compilation-impl",
":compiler:fir:raw-fir:light-tree2fir"
)
val projects = compilerModules.asList() - excludedCompilerModules + listOf(
":kotlin-compiler-runner",
":kotlin-preloader",
":daemon-common",
":daemon-common-new",
":kotlin-daemon",
":kotlin-daemon-client",
":kotlin-daemon-client-new"
)
publishProjectJars(
projects = projects,
libraryDependencies = listOf(protobufFull())
)
}
@@ -0,0 +1,20 @@
plugins {
java
}
idePluginDependency {
publish()
val jar: Jar by tasks
jar.apply {
val distKotlincTask = project(":kotlin-compiler").tasks.getByName("distKotlinc")
dependsOn(distKotlincTask)
from(distKotlincTask)
}
sourcesJar()
javadocJar()
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-gradle-statistics"))
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":kotlinx-serialization-compiler-plugin"))
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-noarg-compiler-plugin"))
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-sam-with-receiver-compiler-plugin"))
}
@@ -0,0 +1,3 @@
idePluginDependency {
publishTestJar(":compiler:tests-common")
}