Files
kotlin-fork/libraries/tools/kotlin-script-util/build.gradle.kts
T
Alexander.Likhachev 53fde520d5 [Build] Add jUnit dependencies in testApiJUnit5 to the implementation configuration
Adding these dependencies to the `api` configuration pollutes classpath for each dependant modules even if it doesn't need them. Instead, the dependencies should be declared more granularly if they're required
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00

41 lines
948 B
Kotlin

description = "Kotlin scripting support utilities"
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
api(kotlinStdlib())
api(project(":kotlin-script-runtime"))
api(project(":kotlin-scripting-jvm"))
api(commonDependency("org.jetbrains.intellij.deps", "trove4j"))
compileOnly(project(":compiler:cli"))
compileOnly(project(":daemon-common"))
compileOnly(project(":kotlin-scripting-compiler"))
api(project(":kotlin-daemon-client"))
testCompileOnly(project(":compiler:cli"))
testApi(project(":kotlin-test:kotlin-test-junit"))
testImplementation(libs.junit4)
testApi(project(":kotlin-scripting-compiler"))
testRuntimeOnly(project(":kotlin-compiler"))
testApi(intellijCore())
}
optInToExperimentalCompilerApi()
configurations.all {
resolutionStrategy {
force(libs.junit4)
}
}
projectTest {
workingDir = rootDir
}
runtimeJar()
sourcesJar()
javadocJar()