[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
@@ -37,7 +37,7 @@ dependencies {
|
||||
testApi(project(":kotlin-android-extensions-runtime"))
|
||||
testApi(projectTests(":compiler:tests-common"))
|
||||
testApi(project(":kotlin-test:kotlin-test-jvm"))
|
||||
testApi(libs.junit4)
|
||||
testImplementation(libs.junit4)
|
||||
|
||||
robolectricDependency("org.robolectric:android-all:5.0.2_r3-robolectric-r0")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user