Files
kotlin-fork/generators/test-generator/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

25 lines
542 B
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
testApi(project(":core:util.runtime"))
testApi(projectTests(":compiler:test-infrastructure-utils"))
testApi(kotlinStdlib())
testImplementation(libs.junit4)
testApiJUnit5()
testApi(project(":generators"))
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testRuntimeOnly(project(":core:descriptors.runtime"))
}
sourceSets {
"main" { }
"test" { projectDefault() }
}
testsJar {}