8f79e833a8
Review: https://jetbrains.team/p/kt/reviews/6753 All redundant I managed to find, of course. Why: I'm going to process all reflect dependencies in the next commits. Cleanup reflect dependency before processing. They are redundant because: 1. if `compileOnly` then compilation didn't break after dropping the dependency 2. if `test*` then tests didn't break after dropping the dependency. 3. `analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts` `compiler/fir/checkers/checkers-component-generator/build.gradle.kts` Drop `implementation(project(":kotlin-reflect-api"))` because the module already depends on `implementation(project(":kotlin-reflect"))` 4. `compiler/daemon/daemon-client/build.gradle.kts`. Drop `runtimeOnly` because after dropping `compileOnly` compilation didn't break (so `runtimeOnly` looks suspicious). Less safe than 1-3
32 lines
920 B
Kotlin
32 lines
920 B
Kotlin
description = "Kotlin Scripting Compiler JS Plugin"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:psi"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compileOnly(project(":compiler:backend.js"))
|
|
compileOnly(project(":core:descriptors.runtime"))
|
|
compileOnly(project(":compiler:ir.tree"))
|
|
api(project(":kotlin-scripting-common"))
|
|
api(project(":kotlin-scripting-js"))
|
|
api(project(":kotlin-util-klib"))
|
|
api(project(":kotlin-scripting-compiler"))
|
|
api(kotlinStdlib())
|
|
compileOnly(intellijCore())
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
|
kotlinOptions {
|
|
freeCompilerArgs = freeCompilerArgs - "-progressive" + "-Xskip-metadata-version-check"
|
|
}
|
|
} |