003f381fcd
Use distJar configuration instead. It's necessary because currently when using default-type, subproject starts having a transitive dependency to :kotlin-stdlib-common and that leads to exception from KT-20897 when building light classes This change might be reverted once KT-23942 is fixed #KT-23942 Submitted
32 lines
598 B
Kotlin
32 lines
598 B
Kotlin
|
|
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
jvmTarget = "1.6"
|
|
|
|
dependencies {
|
|
compile(project(":kotlin-script-runtime"))
|
|
compile(projectDist(":kotlin-stdlib"))
|
|
compile(project(":kotlin-scripting-common"))
|
|
compile(project(":kotlin-scripting-jvm"))
|
|
compile(project(":kotlin-script-util"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compileOnly(intellijCoreDep())
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
kotlin.experimental.coroutines = Coroutines.ENABLE
|
|
|
|
standardPublicJars()
|
|
|
|
publish()
|
|
|