Initial implementation of kotlin + intellij combined repo

This commit is contained in:
Nikita Bobko
2021-03-26 16:19:05 +01:00
parent cedafedfb0
commit 6d125e0880
15 changed files with 211 additions and 66 deletions
@@ -1,3 +1,5 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-allopen-compiler-plugin"))
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":kotlin-allopen-compiler-plugin"))
@@ -1,3 +1,5 @@
idePluginDependency {
publishTestJar(listOf(":compiler:incremental-compilation-impl"))
}
plugins {
kotlin("jvm")
}
publishTestJarsForIde(listOf(":compiler:incremental-compilation-impl"))
@@ -1,3 +1,5 @@
idePluginDependency {
publishProjectJars(listOf(":plugins:android-extensions-compiler"))
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":plugins:android-extensions-compiler"))
@@ -1,8 +1,10 @@
idePluginDependency {
@Suppress("UNCHECKED_CAST")
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
plugins {
kotlin("jvm")
}
val otherProjects = listOf(":kotlin-daemon-client")
@Suppress("UNCHECKED_CAST")
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
publishProjectJars(compilerComponents + otherProjects)
}
val otherProjects = listOf(":kotlin-daemon-client")
publishJarsForIde(compilerComponents + otherProjects)
@@ -1,3 +1,5 @@
idePluginDependency {
publishTestJar(listOf(":compiler:incremental-compilation-impl"))
}
plugins {
kotlin("jvm")
}
publishTestJarsForIde(listOf(":compiler:incremental-compilation-impl"))
@@ -1,3 +1,5 @@
idePluginDependency {
publishTestJar(listOf(":kotlin-build-common"))
}
plugins {
kotlin("jvm")
}
publishTestJarsForIde(listOf(":kotlin-build-common"))
@@ -1,27 +1,29 @@
idePluginDependency {
val compilerModules: Array<String> by rootProject.extra
val excludedCompilerModules = listOf(
":compiler:cli",
":compiler:cli-js",
":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",
":kotlin-daemon-client"
)
publishProjectJars(
projects = projects,
libraryDependencies = listOf(protobufFull())
)
plugins {
kotlin("jvm")
}
val compilerModules: Array<String> by rootProject.extra
val excludedCompilerModules = listOf(
":compiler:cli",
":compiler:cli-js",
":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",
":kotlin-daemon-client"
)
publishJarsForIde(
projects = projects,
libraryDependencies = listOf(protobufFull())
)
@@ -1,3 +1,5 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-gradle-statistics"))
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":kotlin-gradle-statistics"))
@@ -1,3 +1,5 @@
idePluginDependency {
publishProjectJars(listOf(":kotlinx-serialization-compiler-plugin"))
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":kotlinx-serialization-compiler-plugin"))
@@ -1,3 +1,5 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-noarg-compiler-plugin"))
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":kotlin-noarg-compiler-plugin"))
@@ -1,7 +1,5 @@
idePluginDependency {
publishProjectJars(
listOf(
":plugins:parcelize:parcelize-compiler"
)
)
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":plugins:parcelize:parcelize-compiler"))
@@ -1,3 +1,5 @@
idePluginDependency {
publishProjectJars(listOf(":kotlin-sam-with-receiver-compiler-plugin"))
}
plugins {
kotlin("jvm")
}
publishJarsForIde(listOf(":kotlin-sam-with-receiver-compiler-plugin"))