fe5104b865
This allows to replace dependency on 'js.frontend' with 'js.config', in 'kotlin-build-common' and 'daemon-common'. Also simplify some other dependencies.
45 lines
1.2 KiB
Kotlin
45 lines
1.2 KiB
Kotlin
description = "Kotlin Build Common"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":core:util.runtime"))
|
|
compileOnly(project(":compiler:util"))
|
|
compileOnly(project(":compiler:cli-common"))
|
|
compileOnly(project(":compiler:frontend.java"))
|
|
compileOnly(project(":js:js.serializer"))
|
|
compileOnly(project(":js:js.config"))
|
|
compileOnly(project(":kotlin-util-klib-metadata"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
compileOnly(intellijDep()) { includeJars("asm-all", "trove4j", "util", rootProject = rootProject) }
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
|
|
testCompileOnly(project(":compiler:cli-common"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(protobufFull())
|
|
testCompile(kotlinStdlib())
|
|
Platform[193].orLower {
|
|
testCompileOnly(intellijDep()) { includeJars("openapi", rootProject = rootProject) }
|
|
}
|
|
testRuntime(project(":kotlin-reflect"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
publish()
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
testsJar()
|
|
|
|
projectTest(parallel = true)
|