Files
kotlin-fork/core/descriptors.runtime/build.gradle.kts
T
Alexander.Likhachev 6f96be0b76 [Build] Get rid of the testApiJUnit5 method
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00

36 lines
820 B
Kotlin

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
id("jps-compatible")
}
project.configureJvmToolchain(JdkMajorVersion.JDK_1_8)
dependencies {
compileOnly(project(":core:util.runtime"))
compileOnly(project(":core:descriptors"))
compileOnly(project(":core:descriptors.jvm"))
testApi(projectTests(":compiler:tests-common"))
testApi(projectTests(":generators:test-generator"))
testApi(intellijCore())
testApi(platform(libs.junit.bom))
testImplementation(libs.junit4)
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateRuntimeDescriptorTestsKt")
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
}
testsJar()