mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
the dependency on the coroutines library caused various problems like KT-30778, or stdlib/runtime version conflicts. The only function used was `runBlocking`, so this change replaces it with the internal implementation based on the similar internal thing from the stdlib. #KT-30778 fixed
25 lines
622 B
Kotlin
25 lines
622 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 }
|
|
runtimeOnly(project(":kotlin-scripting-common"))
|
|
runtimeOnly(project(":kotlin-scripting-jvm"))
|
|
runtimeOnly(kotlinStdlib())
|
|
}
|
|
|
|
publish()
|
|
|
|
noDefaultJar()
|
|
runtimeJar(rewriteDepsToShadedCompiler(
|
|
tasks.register<ShadowJar>("shadowJar") {
|
|
from(packedJars)
|
|
}
|
|
))
|
|
sourcesJar()
|
|
javadocJar()
|