48 lines
1.3 KiB
Kotlin
48 lines
1.3 KiB
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":core:descriptors"))
|
|
compileOnly(project(":compiler:fir:cones"))
|
|
compileOnly(project(":compiler:fir:resolve"))
|
|
compileOnly(project(":compiler:fir:tree"))
|
|
compileOnly(project(":compiler:ir.tree"))
|
|
compileOnly(project(":compiler:ir.psi2ir"))
|
|
compileOnly(project(":compiler:ir.backend.common"))
|
|
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
testCompileOnly(intellijDep())
|
|
|
|
testRuntime(intellijDep())
|
|
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
|
|
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(projectTests(":compiler:fir:analysis-tests"))
|
|
testApi(project(":compiler:resolution.common"))
|
|
|
|
testCompileOnly(project(":kotlin-reflect-api"))
|
|
testRuntime(project(":kotlin-reflect"))
|
|
testRuntime(project(":core:descriptors.runtime"))
|
|
|
|
Platform[192].orHigher {
|
|
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest(parallel = true) {
|
|
workingDir = rootDir
|
|
}
|
|
|
|
testsJar()
|