Remove dependency of frontend on compiler.common.jvm

Looks like it was added accidentally in 564d382b9d; common frontend
shouldn't depend on JVM-specific modules.

Since then, it has been accidentally used in two places in
ir.serialization.common to refer to JVM specifics, and that should be
abstracted away in the future.
This commit is contained in:
Alexander Udalov
2021-05-05 19:39:26 +02:00
parent 81ce1da352
commit dfea915f92
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -15,7 +15,6 @@ dependencies {
compile(project(":compiler:frontend.common"))
compile(project(":kotlin-script-runtime"))
compile(commonDep("io.javaslang","javaslang"))
api(project(":core:compiler.common.jvm"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("trove4j", "guava", rootProject = rootProject) }
}
@@ -12,6 +12,9 @@ dependencies {
compile(project(":compiler:util"))
compileOnly(project(":kotlin-reflect-api"))
// TODO: move usages of JvmAnnotationNames and hasEnhancedNullability to ir.serialization.jvm and remove this dependency.
implementation(project(":core:compiler.common.jvm"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
}