60080e8bb8
^KTI-1135 In Progress
55 lines
1.6 KiB
Kotlin
55 lines
1.6 KiB
Kotlin
description = "Kotlin Build Common"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":core:util.runtime"))
|
|
compileOnly(project(":compiler:backend.common.jvm"))
|
|
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(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
|
|
compileOnly(intellijCore())
|
|
compileOnly(commonDependency("org.jetbrains.intellij.deps:asm-all"))
|
|
compileOnly(project(":compiler:build-tools:kotlin-build-statistics"))
|
|
|
|
testCompileOnly(project(":compiler:cli-common"))
|
|
testApi(projectTests(":compiler:tests-common"))
|
|
testApi(platform(libs.junit.bom))
|
|
testImplementation(libs.junit.jupiter.api)
|
|
testRuntimeOnly(libs.junit.jupiter.engine)
|
|
testImplementation(libs.junit.jupiter.params)
|
|
testImplementation(libs.junit4)
|
|
testApi(protobufFull())
|
|
testApi(kotlinStdlib())
|
|
testImplementation(project(":compiler:build-tools:kotlin-build-statistics"))
|
|
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
testImplementation("org.reflections:reflections:0.10.2")
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
publish()
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
testsJar()
|
|
|
|
projectTest(parallel = true)
|
|
|
|
projectTest("testJUnit5", jUnitMode = JUnitMode.JUnit5, parallel = true) {
|
|
useJUnitPlatform()
|
|
}
|