[K/N lib] merge metadata & serializer, publish the result to Maven

This commit is contained in:
Dmitriy Dolovov
2018-08-27 19:38:20 +03:00
committed by Mikhail Glukhikh
parent eda29a48a4
commit db29d12c60
8 changed files with 79 additions and 90 deletions
-17
View File
@@ -1,17 +0,0 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
description = "Kotlin/Native metadata"
jvmTarget = "1.6"
dependencies {
compile(project(":core:metadata"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
+12 -3
View File
@@ -8,9 +8,14 @@ description = "Kotlin/Native deserializer and library reader"
jvmTarget = "1.6"
dependencies {
compile(project(":compiler:frontend"))
compile(project(":compiler:frontend.java"))
compile(project(":konan:konan-metadata"))
// Compile-only dependencies are needed for compilation of this module:
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
// Runtime dependency is necessary only to keep the right dependency record inside of POM file:
runtime(projectRuntimeJar(":kotlin-compiler"))
compile(project(":konan:konan-utils"))
}
@@ -18,3 +23,7 @@ sourceSets {
"main" { projectDefault() }
"test" {}
}
standardPublicJars()
publish()
@@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: konan/metadata/src/konan.proto
// source: konan/serializer/src/konan.proto
package org.jetbrains.kotlin.metadata.konan;