877438b1f3
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.
50 lines
1.2 KiB
Kotlin
50 lines
1.2 KiB
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":compiler:cli-common"))
|
|
api(project(":compiler:resolution.common"))
|
|
api(project(":compiler:frontend.java"))
|
|
api(project(":compiler:frontend:cfg"))
|
|
api(project(":compiler:ir.backend.common"))
|
|
api(project(":compiler:backend.jvm"))
|
|
api(project(":compiler:light-classes"))
|
|
api(project(":compiler:javac-wrapper"))
|
|
api(project(":compiler:ir.serialization.jvm"))
|
|
api(project(":js:js.translator"))
|
|
api(project(":native:frontend.native"))
|
|
api(project(":wasm:wasm.frontend"))
|
|
api(project(":kotlin-util-klib"))
|
|
api(project(":kotlin-util-klib-metadata"))
|
|
|
|
compileOnly(toolsJarApi())
|
|
compileOnly(intellijCore())
|
|
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
|
|
compileOnly(commonDependency("org.jetbrains.intellij.deps:asm-all"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" {
|
|
projectDefault()
|
|
}
|
|
"test" { none() }
|
|
}
|
|
|
|
allprojects {
|
|
optInToExperimentalCompilerApi()
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile> {
|
|
compilerOptions {
|
|
progressiveMode.set(true)
|
|
}
|
|
}
|
|
|
|
testsJar {}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|