Files
kotlin-fork/plugins/sam-with-receiver/build.gradle.kts
T
Alexander.Likhachev 357d12fc8e [Build] Move JUnit dependencies into the version catalog
The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00

58 lines
1.5 KiB
Kotlin

description = "Kotlin SamWithReceiver Compiler Plugin"
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.common")) { isTransitive = false }
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.k1")) { isTransitive = false }
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.k2")) { isTransitive = false }
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.cli")) { isTransitive = false }
testApi(project(":compiler:backend"))
testApi(project(":compiler:cli"))
testApi(project(":kotlin-sam-with-receiver-compiler-plugin.cli"))
testCompileOnly(project(":kotlin-compiler"))
testImplementation(project(":kotlin-scripting-jvm-host-unshaded"))
testApiJUnit5(vintageEngine = true)
testApi(projectTests(":compiler:tests-common-new"))
testApi(projectTests(":compiler:test-infrastructure"))
testApi(projectTests(":compiler:test-infrastructure-utils"))
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(libs.junit4)
testRuntimeOnly(project(":core:descriptors.runtime"))
testRuntimeOnly(project(":compiler:fir:fir-serialization"))
testApi(intellijCore())
}
optInToExperimentalCompilerApi()
sourceSets {
"main" { none() }
"test" {
projectDefault()
generatedTestDir()
}
}
publish()
runtimeJar()
sourcesJar()
javadocJar()
testsJar()
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
useJUnitPlatform()
}