blob: 8661844b3ea08d3efcc9bef620c541f6b90d895c [file] [edit]
description = "Kotlin Assignment Compiler Plugin"
plugins {
kotlin("jvm")
id("jps-compatible")
id("java-test-fixtures")
}
dependencies {
embedded(project(":kotlin-assignment-compiler-plugin.common")) { isTransitive = false }
embedded(project(":kotlin-assignment-compiler-plugin.k1")) { isTransitive = false }
embedded(project(":kotlin-assignment-compiler-plugin.k2")) { isTransitive = false }
embedded(project(":kotlin-assignment-compiler-plugin.cli")) { isTransitive = false }
testFixturesApi(project(":compiler:backend"))
testFixturesApi(project(":compiler:cli"))
testFixturesApi(project(":kotlin-assignment-compiler-plugin.cli"))
testFixturesImplementation(project(":kotlin-scripting-jvm-host-unshaded"))
testFixturesApi(testFixtures(project(":compiler:tests-common-new")))
testFixturesImplementation(testFixtures(project(":compiler:tests-common")))
testFixturesImplementation(libs.junit.jupiter.api)
testFixturesImplementation(project(":kotlin-reflect"))
testRuntimeOnly(project(":core:descriptors.runtime"))
testRuntimeOnly(project(":compiler:fir:fir-serialization"))
testRuntimeOnly(libs.junit.jupiter.engine)
testRuntimeOnly(toolsJar())
testFixturesApi(intellijCore())
}
optInToExperimentalCompilerApi()
sourceSets {
"main" { none() }
"test" {
generatedTestDir()
}
"testFixtures" {
projectDefault()
}
}
publish()
runtimeJar()
sourcesJar()
javadocJar()
testsJar()
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
useJUnitPlatform()
}