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:
@@ -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") }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user