mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
24 lines
665 B
Kotlin
24 lines
665 B
Kotlin
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
import org.jetbrains.kotlin.pill.PillExtension.Variant
|
|
|
|
plugins { java }
|
|
|
|
description = "Kotlin Scripting Compiler Plugin for embeddable compiler"
|
|
|
|
val packedJars by configurations.creating
|
|
dependencies {
|
|
packedJars(project(":kotlin-scripting-compiler")) { isTransitive = false }
|
|
packedJars(project(":kotlin-scripting-common")) { isTransitive = false }
|
|
packedJars(project(":kotlin-scripting-jvm")) { isTransitive = false }
|
|
}
|
|
|
|
noDefaultJar()
|
|
runtimeJar(rewriteDepsToShadedCompiler(
|
|
task<ShadowJar>("shadowJar") {
|
|
from(packedJars)
|
|
}
|
|
))
|
|
sourcesJar()
|
|
javadocJar()
|
|
publish()
|