a42f607ecf
With gradle > 5.0 `publish()` helper call should be done before `noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
31 lines
588 B
Kotlin
31 lines
588 B
Kotlin
|
|
description = "Kotlin Compiler (embeddable)"
|
|
|
|
plugins {
|
|
`java`
|
|
}
|
|
|
|
dependencies {
|
|
runtime(kotlinStdlib())
|
|
runtime(project(":kotlin-script-runtime"))
|
|
runtime(project(":kotlin-reflect"))
|
|
runtime(commonDep("org.jetbrains.intellij.deps", "trove4j"))
|
|
}
|
|
|
|
publish()
|
|
|
|
noDefaultJar()
|
|
|
|
// dummy is used for rewriting dependencies to the shaded packages in the embeddable compiler
|
|
compilerDummyJar(compilerDummyForDependenciesRewriting("compilerDummy") {
|
|
classifier = "dummy"
|
|
})
|
|
|
|
runtimeJar(embeddableCompiler()) {
|
|
exclude("com/sun/jna/**")
|
|
}
|
|
|
|
sourcesJar()
|
|
javadocJar()
|
|
|