Files
kotlin-fork/compiler/cli/build.gradle.kts
T
Alexander.Likhachev 877438b1f3 Remove LV/AV customization for the compiler CLI modules
The customization was added for compatibility with Gradle. That isn't a problem anymore, as we don't use it from KGP and soon we will eliminate the direct dependency on kotlin-compiler from KGP.
2023-05-12 12:59:39 +00:00

65 lines
1.8 KiB
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
api(project(":compiler:util"))
api(project(":compiler:cli-base"))
api(project(":compiler:frontend"))
api(project(":compiler:backend-common"))
api(project(":compiler:backend"))
implementation(project(":compiler:backend.jvm.entrypoint"))
api(project(":compiler:serialization"))
api(project(":compiler:plugin-api"))
api(project(":js:js.translator"))
api(commonDependency("org.fusesource.jansi", "jansi"))
api(project(":compiler:fir:raw-fir:psi2fir"))
api(project(":compiler:fir:resolve"))
api(project(":compiler:fir:providers"))
api(project(":compiler:fir:semantics"))
api(project(":compiler:fir:java"))
api(project(":compiler:fir:entrypoint"))
api(project(":compiler:fir:fir2ir"))
implementation(project(":compiler:fir:fir2ir:jvm-backend"))
api(project(":compiler:fir:checkers"))
api(project(":compiler:fir:checkers:checkers.jvm"))
api(project(":compiler:fir:checkers:checkers.js"))
api(project(":compiler:fir:checkers:checkers.native"))
api(project(":compiler:fir:fir-serialization"))
api(project(":kotlin-util-io"))
compileOnly(toolsJarApi())
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
testApi(project(":compiler:backend"))
testApi(project(":compiler:cli"))
testApi(projectTests(":compiler:tests-common"))
testApi(commonDependency("junit:junit"))
}
sourceSets {
"main" {
projectDefault()
java.srcDirs("../builtins-serializer/src")
}
"test" { }
}
allprojects {
optInToExperimentalCompilerApi()
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile> {
compilerOptions {
progressiveMode.set(true)
}
}
testsJar {}
projectTest {
workingDir = rootDir
}