28 lines
674 B
Kotlin
28 lines
674 B
Kotlin
import org.gradle.jvm.tasks.Jar
|
|
|
|
description = "Kotlin Scripting JVM host (for using with embeddable compiler)"
|
|
|
|
plugins { java }
|
|
|
|
dependencies {
|
|
embedded(project(":kotlin-scripting-jvm-host")) { isTransitive = false }
|
|
runtime(project(":kotlin-script-runtime"))
|
|
runtime(kotlinStdlib())
|
|
runtime(project(":kotlin-scripting-common"))
|
|
runtime(project(":kotlin-scripting-jvm"))
|
|
runtime(project(":kotlin-compiler-embeddable"))
|
|
runtime(project(":kotlin-scripting-compiler-embeddable"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" {}
|
|
"test" {}
|
|
}
|
|
|
|
publish()
|
|
|
|
val jar = tasks.getByName<Jar>("jar")
|
|
runtimeJar(rewriteDepsToShadedCompiler(jar))
|
|
sourcesJar()
|
|
javadocJar()
|