blob: e77f111532a47b1062bbd9de497cbafd257cd3ac [file] [log] [blame]
plugins {
kotlin("jvm")
id("jps-compatible")
id("org.jetbrains.kotlinx.binary-compatibility-validator")
id("java-test-fixtures")
id("project-tests-convention")
}
dependencies {
api(project(":core:compiler.common"))
api(project(":compiler:util"))
api(project(":compiler:frontend.common"))
api(project(":kotlin-script-runtime"))
compileOnly(intellijCore())
compileOnly(libs.guava)
compileOnly(libs.intellij.fastutil)
testFixturesApi(platform(libs.junit.bom))
testFixturesImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
testFixturesImplementation(testFixtures(project(":compiler:tests-common")))
testImplementation(testFixtures(project(":compiler:tests-common")))
testFixturesCompileOnly(intellijCore())
testCompileOnly(intellijCore())
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
"testFixtures" { projectDefault() }
}
apiValidation {
nonPublicMarkers += listOf(
"org.jetbrains.kotlin.psi.KtImplementationDetail",
)
}
testsJar()
projectTests {
testTask(jUnitMode = JUnitMode.JUnit5) {
workingDir = rootDir
}
}