Fix configuration [JPS] Generate All Tests

Add missing dependency kotlin.core.descriptors.runtime.main instead of only kotlin.core.descriptors.runtime.test dependency,  as ReflectClassUtilKt (in main source set) is needed for tests generation
This commit is contained in:
Aleksei.Cherepanov
2021-12-15 19:55:37 +03:00
committed by Space
parent 6dc69adcc9
commit c998582e13
@@ -26,6 +26,10 @@ dependencies {
testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar"))
testRuntimeOnly(platform(commonDep("org.junit:junit-bom")))
testRuntimeOnly("org.junit.jupiter:junit-jupiter")
if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
testRuntimeOnly(project(":core:descriptors.runtime"))
}
}
sourceSets {