plugins { kotlin("jvm") id("jps-compatible") } val depenencyProjects = arrayOf( ":generators", ":compiler", ":compiler:test-infrastructure", ":compiler:tests-common-new", ":compiler:tests-for-compiler-generator", ":js:js.tests", ":compiler:tests-java8", ":core:descriptors.runtime", ":generators:analysis-api-generator" ) dependencies { depenencyProjects.forEach { testApi(projectTests(it)) jpsTest(project(it, configuration = "jpsTest")) } testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar")) testRuntimeOnly(platform(libs.junit.bom)) testRuntimeOnly(libs.junit.jupiter.engine) if (kotlinBuildProperties.isInJpsBuildIdeaSync) { testRuntimeOnly(project(":core:descriptors.runtime")) } } sourceSets { "main" { } "test" { projectDefault() } }