diff --git a/backend.native/build.gradle b/backend.native/build.gradle index fcd2db0dd78..095f19e383e 100644 --- a/backend.native/build.gradle +++ b/backend.native/build.gradle @@ -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 + } + } +}