d2aae67e03
Use dependency helper function that chooses whether to take them from the bootstrap repository or from a configuration of kotlin-test KT-61969
32 lines
772 B
Kotlin
32 lines
772 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core:util.runtime"))
|
|
api(commonDependency("javax.inject"))
|
|
compileOnly(kotlinStdlib())
|
|
compileOnly(intellijCore())
|
|
testApi(kotlinStdlib())
|
|
testCompileOnly("org.jetbrains:annotations:13.0")
|
|
testApi(kotlinTest("junit"))
|
|
testImplementation(libs.junit4)
|
|
testCompileOnly(intellijCore())
|
|
|
|
testRuntimeOnly(intellijCore())
|
|
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
|
|
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps.fastutil:intellij-deps-fastutil"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
testsJar {}
|
|
|
|
projectTest(parallel = true) {
|
|
workingDir = rootDir
|
|
}
|