Extract module 'config' out of 'frontend'
Also move deprecated TargetPlatform there. This allows to get rid of the dependency cli.common -> frontend, and even on frontend.common.
This commit is contained in:
committed by
Alexander Udalov
parent
143aef938b
commit
4dcd0d1cb6
@@ -208,6 +208,7 @@ extra["IntellijCoreDependencies"] =
|
||||
|
||||
extra["compilerModules"] = arrayOf(
|
||||
":compiler:util",
|
||||
":compiler:config",
|
||||
":compiler:config.jvm",
|
||||
":compiler:container",
|
||||
":compiler:resolution",
|
||||
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(project(":compiler:frontend"))
|
||||
compile(project(":compiler:config"))
|
||||
compile(project(":compiler:config.jvm"))
|
||||
compile(project(":js:js.config"))
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":compiler:frontend"))
|
||||
api(project(":compiler:config"))
|
||||
api(project(":core:descriptors.jvm"))
|
||||
compileOnly(intellijCoreDep()) { includeJars("asm-all", rootProject = rootProject) }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":core:descriptors"))
|
||||
api(project(":compiler:util"))
|
||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" {}
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
@@ -9,6 +8,7 @@ dependencies {
|
||||
compile(project(":core:descriptors"))
|
||||
compile(project(":core:deserialization"))
|
||||
compile(project(":compiler:util"))
|
||||
compile(project(":compiler:config"))
|
||||
compile(project(":compiler:container"))
|
||||
compile(project(":compiler:resolution"))
|
||||
compile(project(":compiler:psi"))
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":compiler:frontend.common"))
|
||||
api(project(":compiler:config"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -74,6 +74,7 @@ val projectsToShadow by extra(listOf(
|
||||
":compiler:resolution",
|
||||
":compiler:serialization",
|
||||
":compiler:util",
|
||||
":compiler:config",
|
||||
":compiler:config.jvm",
|
||||
":compiler:compiler.version",
|
||||
":core:util.runtime",
|
||||
|
||||
@@ -20,6 +20,7 @@ val projectsToShadow = listOf(
|
||||
":jps-plugin",
|
||||
":kotlin-preloader",
|
||||
":compiler:util",
|
||||
":compiler:config",
|
||||
":compiler:config.jvm",
|
||||
":core:util.runtime",
|
||||
":compiler:compiler.version"
|
||||
|
||||
@@ -59,6 +59,7 @@ include ":kotlin-build-common",
|
||||
":benchmarks",
|
||||
":compiler",
|
||||
":compiler:util",
|
||||
":compiler:config",
|
||||
":compiler:config.jvm",
|
||||
":kotlin-util-io",
|
||||
":kotlin-util-klib",
|
||||
|
||||
Reference in New Issue
Block a user