Files
kotlin-fork/libraries/scripting/jvm/build.gradle.kts
T
Vyacheslav Gerasimov a42f607ecf Build: Fix artifacts signing for maven central
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
2019-02-27 13:21:17 +03:00

31 lines
424 B
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
jvmTarget = "1.6"
dependencies {
compile(project(":kotlin-script-runtime"))
compile(kotlinStdlib())
compile(project(":kotlin-scripting-common"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
publish()
val jar = runtimeJar()
val sourcesJar = sourcesJar()
val javadocJar = javadocJar()
dist()
ideaPlugin {
from(jar, sourcesJar)
}