52 lines
1.6 KiB
Kotlin
52 lines
1.6 KiB
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core:descriptors"))
|
|
api(project(":core:descriptors.jvm"))
|
|
api(project(":core:deserialization"))
|
|
api(project(":compiler:util"))
|
|
api(project(":compiler:frontend"))
|
|
api(project(":compiler:frontend.java"))
|
|
api(project(":compiler:cli"))
|
|
api(project(":compiler:cli-js"))
|
|
api(project(":kotlin-build-common"))
|
|
api(project(":daemon-common"))
|
|
implementation("com.google.code.gson:gson:${rootProject.extra["versions.jar.gson"]}")
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
testApi(commonDependency("junit:junit"))
|
|
testApi(project(":kotlin-test:kotlin-test-junit"))
|
|
testApi(kotlinStdlib())
|
|
testApi(projectTests(":kotlin-build-common"))
|
|
testApi(projectTests(":compiler:tests-common"))
|
|
testApi(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testApi(intellijDep()) { includeJars("log4j", "jdom") }
|
|
testRuntimeOnly(project(":kotlin-reflect"))
|
|
testRuntimeOnly(project(":core:descriptors.runtime"))
|
|
testRuntimeOnly(intellijDep()) { includeJars("lz4-java", "jna", "idea_rt", rootProject = rootProject) }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest(parallel = true) {
|
|
workingDir = rootDir
|
|
dependsOn(":kotlin-stdlib-js-ir:packFullRuntimeKLib")
|
|
}
|
|
|
|
projectTest("testJvmICWithJdk11", parallel = true) {
|
|
workingDir = rootDir
|
|
filter {
|
|
includeTestsMatching("org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunnerTestGenerated*")
|
|
}
|
|
javaLauncher.set(project.getToolchainLauncherFor(JdkMajorVersion.JDK_11))
|
|
}
|
|
|
|
testsJar()
|