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