JVM IR: remove dependency of 'backend.jvm' on 'psi2ir', 'ir.serialization.jvm'

Add a new module 'backend.jvm.entrypoint' which depends on psi2ir and
contains code that runs psi2ir + JVM IR backend with serialization
implementations.

Hopefully this will allow to compile these modules in parallel and
reduce the build time.
This commit is contained in:
Alexander Udalov
2021-02-21 20:04:06 +01:00
parent 5e0860ca14
commit 566f97ae3e
18 changed files with 44 additions and 14 deletions
@@ -1,4 +1,3 @@
description = "Kotlin Scripting Compiler Plugin"
plugins {
@@ -15,6 +14,7 @@ dependencies {
compileOnly(project(":compiler:backend.js"))
compileOnly(project(":core:descriptors.runtime"))
compileOnly(project(":compiler:ir.tree.impl"))
compileOnly(project(":compiler:backend.jvm:backend.jvm.entrypoint"))
compileOnly(project(":kotlin-reflect-api"))
compile(project(":kotlin-scripting-common"))
compile(project(":kotlin-scripting-js"))