User-side library generator. (#3538)

This commit is contained in:
Nikolay Igotti
2019-11-04 15:13:27 +03:00
committed by GitHub
parent 9afc58b57e
commit e9a2319f13
6 changed files with 187 additions and 3 deletions
+10
View File
@@ -351,6 +351,15 @@ task distCompiler(type: Copy) {
}
}
task distDef(type: Copy) {
destinationDir distDir
from(project("platformLibs").file("src/platform")) {
into('klib/platformDef')
}
}
task listDist(type: Exec) {
commandLine 'find', distDir
}
@@ -472,6 +481,7 @@ task bundle(type: (isWindows()) ? Zip : Tar) {
}
task bundleRestricted(type: Tar) {
dependsOn("distDef")
def simpleOsName = HostManager.simpleOsName()
baseName = "kotlin-native-restricted-$simpleOsName-$konanVersionFull"
from("$project.rootDir/dist") {