Build: Rework runtimeJar helper and drop redundant configuration
#KTI-559
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
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
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
dependencies {
|
||||
packedJars(project(":kotlin-scripting-compiler-impl")) { isTransitive = false }
|
||||
embedded(project(":kotlin-scripting-compiler-impl")) { isTransitive = false }
|
||||
runtimeOnly(project(":kotlin-scripting-common"))
|
||||
runtimeOnly(project(":kotlin-scripting-jvm"))
|
||||
runtimeOnly(kotlinStdlib())
|
||||
@@ -14,11 +13,6 @@ dependencies {
|
||||
|
||||
publish()
|
||||
|
||||
noDefaultJar()
|
||||
runtimeJar(rewriteDepsToShadedCompiler(
|
||||
tasks.register<ShadowJar>("shadowJar") {
|
||||
from(packedJars)
|
||||
}
|
||||
))
|
||||
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
Reference in New Issue
Block a user