566f97ae3e
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.
33 lines
1.1 KiB
Kotlin
33 lines
1.1 KiB
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core:descriptors.jvm"))
|
|
api(project(":compiler:frontend.java"))
|
|
api(project(":compiler:fir:java"))
|
|
api(project(":compiler:fir:raw-fir:psi2fir"))
|
|
api(project(":compiler:fir:raw-fir:light-tree2fir"))
|
|
api(project(":compiler:fir:fir2ir"))
|
|
api(project(":compiler:fir:checkers"))
|
|
|
|
// TODO: do not use GeneratorExtensions in `FirAnalyzerFacade.convertToIr`, and make this an 'implementation' dependency.
|
|
api(project(":compiler:ir.psi2ir"))
|
|
|
|
implementation(project(":compiler:fir:resolve"))
|
|
implementation(project(":compiler:fir:fir2ir:jvm-backend"))
|
|
implementation(project(":compiler:backend.jvm"))
|
|
implementation(project(":compiler:ir.serialization.common"))
|
|
implementation(project(":compiler:ir.serialization.jvm"))
|
|
implementation(project(":compiler:ir.tree.impl"))
|
|
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "guava", rootProject = rootProject) }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { none() }
|
|
}
|