[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
@@ -10,6 +10,7 @@ dependencies {
|
||||
implementation(project(":compiler:ir.serialization.common"))
|
||||
compileOnly(commonDependency("org.jetbrains.intellij.deps.fastutil:intellij-deps-fastutil"))
|
||||
testApiJUnit5()
|
||||
testImplementation(libs.junit.jupyter.params)
|
||||
testImplementation(intellijCore())
|
||||
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
||||
testImplementation(projectTests(":compiler:tests-common-new"))
|
||||
|
||||
Reference in New Issue
Block a user