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
53 lines
1.6 KiB
Kotlin
53 lines
1.6 KiB
Kotlin
description = "Kotlin AllOpen Compiler Plugin"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
embedded(project(":kotlin-allopen-compiler-plugin.common")) { isTransitive = false }
|
|
embedded(project(":kotlin-allopen-compiler-plugin.cli")) { isTransitive = false }
|
|
embedded(project(":kotlin-allopen-compiler-plugin.k1")) { isTransitive = false }
|
|
embedded(project(":kotlin-allopen-compiler-plugin.k2")) { isTransitive = false }
|
|
|
|
testImplementation(project(":kotlin-allopen-compiler-plugin"))
|
|
testImplementation(project(":kotlin-allopen-compiler-plugin.common"))
|
|
testImplementation(project(":kotlin-allopen-compiler-plugin.k1"))
|
|
testImplementation(project(":kotlin-allopen-compiler-plugin.k2"))
|
|
testImplementation(project(":kotlin-allopen-compiler-plugin.cli"))
|
|
testImplementation(project(":compiler:backend"))
|
|
testImplementation(project(":compiler:cli"))
|
|
|
|
testImplementation(intellijCore())
|
|
|
|
testApiJUnit5()
|
|
testImplementation(projectTests(":compiler:tests-common-new"))
|
|
testImplementation(projectTests(":compiler:test-infrastructure"))
|
|
testImplementation(projectTests(":compiler:test-infrastructure-utils"))
|
|
testImplementation(project(":compiler:fir:checkers"))
|
|
testRuntimeOnly(project(":compiler:fir:fir-serialization"))
|
|
|
|
testRuntimeOnly(project(":core:descriptors.runtime"))
|
|
}
|
|
|
|
optInToExperimentalCompilerApi()
|
|
|
|
sourceSets {
|
|
"main" { none() }
|
|
"test" {
|
|
projectDefault()
|
|
generatedTestDir()
|
|
}
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
testsJar()
|
|
|
|
projectTest(parallel = true) {
|
|
workingDir = rootDir
|
|
useJUnitPlatform()
|
|
}
|