d9760f00f6
since it is the right place to have it in the new structure. Solves the problem that script-util classes not found then script definition with context classpath is loaded by the scripting compiler plugin, since script-util is not packed into embeddable plugin. The old context utils are deprecated and in fact wrap the new utils. #KT-26828 fixed (in fact - partially, see another related commit)
36 lines
559 B
Kotlin
36 lines
559 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(project(":kotlin-stdlib"))
|
|
compile(project(":kotlin-scripting-common"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
kotlin.experimental.coroutines = Coroutines.ENABLE
|
|
|
|
val jar = runtimeJar()
|
|
val sourcesJar = sourcesJar()
|
|
val javadocJar = javadocJar()
|
|
|
|
dist()
|
|
|
|
ideaPlugin {
|
|
from(jar, sourcesJar)
|
|
}
|
|
|
|
standardPublicJars()
|
|
|
|
publish()
|