Gradle, native: Produce binaries from klibs and bump K/N version

Earlier all native binaries were produced directly from sources of
corresponding compilations. This patch changes this behavior. Now
a klibrary produced by a compilation is used to build a final
binary instead of sources. This allows us to avoid parsing the same
sources several times and reduces build time.

This patch also updates K/N version to 1.3.60-dev-11975, to get the
corresponding support from the compiler side.

Issue #KT-33076 Fixed
This commit is contained in:
Ilya Matveev
2019-08-20 15:17:24 +07:00
parent 3a935402a4
commit 8d495c4b45
8 changed files with 230 additions and 142 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ extra["versions.trove4j"] = "1.0.20181211"
extra["versions.ktor-network"] = "1.0.1"
if (!project.hasProperty("versions.kotlin-native")) {
extra["versions.kotlin-native"] = "1.3.50-dev-11052"
extra["versions.kotlin-native"] = "1.3.60-dev-11975"
}
val isTeamcityBuild = project.kotlinBuildProperties.isTeamcityBuild