| |
| 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") } |
| compileOnly(project(":kotlin-reflect-api")) |
| |
| testCompileOnly(project(":compiler:cli-common")) |
| testCompile(projectTests(":compiler:tests-common")) |
| testCompile(commonDep("junit:junit")) |
| testCompile(protobufFull()) |
| testCompile(projectDist(":kotlin-stdlib")) |
| testCompileOnly(intellijDep()) { includeJars("openapi") } |
| |
| testRuntime(projectDist(":kotlin-reflect")) |
| } |
| |
| sourceSets { |
| "main" { projectDefault() } |
| "test" { projectDefault() } |
| } |
| |
| runtimeJar() |
| sourcesJar() |
| javadocJar() |
| |
| testsJar() |
| |
| projectTest() |
| |
| publish() |