mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
26 lines
574 B
Kotlin
26 lines
574 B
Kotlin
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
plugins { java }
|
|
|
|
description = "Kotlin Scripting Compiler Plugin for embeddable compiler"
|
|
|
|
val packedJars by configurations.creating
|
|
dependencies {
|
|
packedJars(project(":kotlin-scripting-compiler")) { isTransitive = false }
|
|
runtimeOnly(project(":kotlin-scripting-compiler-impl-embeddable"))
|
|
runtimeOnly(kotlinStdlib())
|
|
}
|
|
|
|
publish()
|
|
|
|
noDefaultJar()
|
|
|
|
runtimeJar(rewriteDepsToShadedCompiler(
|
|
tasks.register<ShadowJar>("shadowJar") {
|
|
from(packedJars)
|
|
}
|
|
))
|
|
|
|
sourcesJar()
|
|
javadocJar()
|