From 940774caaf32dfebdfacf7cd72c27443ae9d142d Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Wed, 24 Mar 2021 10:56:35 +0000 Subject: [PATCH] Native: remove README.md from binary distributions It is outdated, and the presumed contents are covered by other docs. --- kotlin-native/DISTRO_README.md | 33 --------------------------------- kotlin-native/build.gradle | 7 ------- 2 files changed, 40 deletions(-) delete mode 100644 kotlin-native/DISTRO_README.md diff --git a/kotlin-native/DISTRO_README.md b/kotlin-native/DISTRO_README.md deleted file mode 100644 index 05397fad5d1..00000000000 --- a/kotlin-native/DISTRO_README.md +++ /dev/null @@ -1,33 +0,0 @@ -# Kotlin/Native # - -_Kotlin/Native_ is a LLVM backend for the Kotlin compiler, runtime -implementation and native code generation facility using LLVM toolchain. - - _Kotlin/Native_ is primarily designed to allow compilation for platforms where -virtual machines are not desirable or possible (such as iOS, embedded targets), -or where developer is willing to produce reasonably-sized self-contained program -without need to ship an additional execution runtime. - - _Kotlin/Native_ could be used either as standalone compiler toolchain or as Gradle -plugin. See [documentation](https://kotlinlang.org/docs/reference/native/gradle_plugin.html) -for more details on how to use this plugin. - -Compile your programs like that: - - export PATH=kotlin-native--/bin:$PATH - kotlinc hello.kt -o hello - -For an optimized compilation use -opt: - - kotlinc hello.kt -o hello -opt - -To generate interoperability stubs create library definition file -(take a look on [Tetris sample](samples/tetris)) -and run `cinterop` tool like this: - - cinterop -def lib.def - -See [C interop documentation](https://kotlinlang.org/docs/reference/native/c_interop.html) -for more information on how to use C libraries from _Kotlin/Native_. - -See [`RELEASE_NOTES.md`](https://github.com/JetBrains/kotlin-native/blob/master/RELEASE_NOTES.md) for information on supported platforms and current limitations. diff --git a/kotlin-native/build.gradle b/kotlin-native/build.gradle index bd80380b541..144f8bb88ab 100644 --- a/kotlin-native/build.gradle +++ b/kotlin-native/build.gradle @@ -625,13 +625,6 @@ configure([bundleRegular, bundlePrebuilt]) { dependsOn("crossDistEndorsedCache") dependsOn("distSources") dependsOn("distDef") - from(project.rootDir) { - include 'DISTRO_README.md' - rename { - return "README.md" - } - into baseName - } from(project.rootDir) { include 'RELEASE_NOTES.md' into baseName