Files
kotlin-fork/libraries/scripting/jvm-host-embeddable/build.gradle.kts
T
Sergey Rostov 00ed49df68 JPS Build: rename packedJars property to embedded, get rid of ShadowJar
Configuration should have name "embedded" for IDEA import.
ShadowJar doesn't required anymore as it is already embedded in
 default jar task.
2019-05-23 16:12:03 +03:00

29 lines
728 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-script-util"))
runtime(projectRuntimeJar(":kotlin-compiler-embeddable"))
runtime(project(":kotlin-scripting-compiler-embeddable"))
}
sourceSets {
"main" {}
"test" {}
}
publish()
val jar = tasks.getByName<Jar>("jar")
runtimeJar(rewriteDepsToShadedCompiler(jar))
sourcesJar()
javadocJar()