17421ed14d
Pass project to fetch extra parameters for asm-all work
44 lines
1.1 KiB
Kotlin
44 lines
1.1 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.frontend"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
compileOnly(intellijDep()) { includeJars("annotations", "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(project(":kotlin-stdlib"))
|
|
testCompileOnly(intellijDep()) { includeJars("openapi") }
|
|
|
|
testRuntime(project(":kotlin-reflect"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
testsJar()
|
|
|
|
projectTest()
|
|
|
|
publish()
|