46 lines
1.3 KiB
Kotlin
46 lines
1.3 KiB
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":core:descriptors"))
|
|
compile(project(":core:descriptors.jvm"))
|
|
compile(project(":core:deserialization"))
|
|
compile(project(":compiler:util"))
|
|
compile(project(":compiler:frontend"))
|
|
compile(project(":compiler:frontend.java"))
|
|
compile(project(":compiler:cli"))
|
|
compile(project(":compiler:cli-js"))
|
|
compile(project(":kotlin-build-common"))
|
|
compile(project(":daemon-common"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(project(":kotlin-test:kotlin-test-junit"))
|
|
testCompile(kotlinStdlib())
|
|
testCompile(projectTests(":kotlin-build-common"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testCompile(intellijDep()) { includeJars("log4j", "jdom") }
|
|
|
|
if (Platform.P192.orHigher()) {
|
|
testRuntime(intellijDep()) { includeJars("lz4-java-1.6.0") }
|
|
} else {
|
|
testRuntime(intellijDep()) { includeJars("lz4-1.3.0") }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest(parallel = true) {
|
|
workingDir = rootDir
|
|
dependsOn(":compiler:ir.serialization.js:packFullRuntimeKLib")
|
|
}
|
|
|
|
testsJar()
|