[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
This commit is contained in:
committed by
Space Team
parent
0ecbb64c64
commit
53fde520d5
@@ -17,7 +17,7 @@ dependencies {
|
||||
|
||||
testApi(kotlinStdlib())
|
||||
testApi(projectTests(":compiler:tests-common"))
|
||||
testApi(libs.junit4)
|
||||
testImplementation(libs.junit4)
|
||||
testApi(projectTests(":compiler:test-infrastructure"))
|
||||
testApi(projectTests(":compiler:test-infrastructure-utils"))
|
||||
testApi(projectTests(":compiler:tests-compiler-utils"))
|
||||
@@ -29,7 +29,7 @@ dependencies {
|
||||
testRuntimeOnly(intellijCore())
|
||||
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps.jna:jna"))
|
||||
|
||||
testApi(libs.junit.platform.launcher)
|
||||
testImplementation(libs.junit.platform.launcher)
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user