Build: Correctly publish backend.native.jar to a local repo
This commit is contained in:
committed by
Ilya Matveev
parent
820ef588ae
commit
7dcb87a06d
@@ -19,6 +19,7 @@ apply plugin: "com.google.protobuf"
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: org.jetbrains.kotlin.NativeInteropPlugin
|
||||
apply plugin: "maven-publish"
|
||||
|
||||
// (gets applied to this project and all its subprojects)
|
||||
allprojects {
|
||||
@@ -289,3 +290,19 @@ task debugCompiler(type: JavaExec) {
|
||||
enableAssertions = true
|
||||
args = findProperty("konan.debug.args").toString().tokenize() ?: []
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven { url = "$buildDir/repo" }
|
||||
}
|
||||
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
groupId = 'org.jetbrains.kotlin'
|
||||
artifactId = 'backend.native'
|
||||
version = konanVersionFull
|
||||
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user