Build: Publish backend.native.jar to a local repo

This commit is contained in:
Ilya Matveev
2019-10-09 18:56:11 +03:00
committed by Ilya Matveev
parent 8205a26a25
commit d886986b96
+16
View File
@@ -19,6 +19,10 @@ apply plugin: "com.google.protobuf"
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: org.jetbrains.kotlin.NativeInteropPlugin
apply plugin: "maven-publish"
group = 'org.jetbrains.kotlin'
version = konanVersionFull
// (gets applied to this project and all its subprojects)
allprojects {
@@ -289,3 +293,15 @@ task debugCompiler(type: JavaExec) {
enableAssertions = true
args = findProperty("konan.debug.args").toString().tokenize() ?: []
}
publishing {
repositories {
maven { url = "$buildDir/repo" }
}
publications {
maven(MavenPublication) {
from components.java
}
}
}