To help you diagnose build misconfigurations and errors, KMP delivers a couple of improvements in Stable: This new feature of the Kotlin Gradle plugin automatically configures Kotlin Source Sets for popular scenarios and reduces the amount of boilerplate in typical build scripts. To simplify project setup and maintenance, we’ve introduced the default hierarchy template. Please pay attention to the experimentality warnings and the corresponding documentation to make an informed decision about using or not using such features in your projects. Such features are explicitly marked as non-stable, and Kotlin will inform you when you’re using them. Expect/actual classes are an example of such functionality (not to be confused with expect/actual functions, which are fully stable in Kotlin 1.9.20). Going beyond the core, KMP also has some more advanced parts that we’re still continuing to work on. “Stable” means that we will evolve those parts following strict compatibility rules, so you can confidently use them in your code. All of these cover the most popular code-sharing use-cases and are stable in Kotlin 1.9.20. The core of the Kotlin Multiplatform technology consists of many parts, such as compiler support, language features, the libraries API, IDEs, build tooling, and more. With KMP being widely used in production since its Alpha release, JetBrains has been able to gather extensive feedback and refine the technology to provide a better multiplatform development experience in the Stable version, including the following. Others, aiming to reuse as much code as possible without compromising app quality, share all application logic across mobile, desktop, web, and TV while maintaining native UIs. Some of them share isolated critical parts of their existing Kotlin code to improve the stability of their apps. Many teams have already been capitalizing on KMP’s ability to be gradually integrated, as well as its low adoption risk. Since the first release of KMP, its flexibility has attracted many prominent companies, such as Netflix, Philips, McDonald’s, 9GAG, and Baidu. It allows developers to reuse as much code as they want, write native code if and as needed, and seamlessly integrate shared Kotlin code into any project. Get Started Share code on your terms, with confidenceĭesigned with a core focus on flexibility and adaptability, Kotlin Multiplatform (KMP) blurs the boundaries between cross-platform and native development. Read on to learn about the evolution of Kotlin Multiplatform (KMP), how it can streamline your development process, and what educational resources are available for you to get the most out of the technology. In a highly anticipated move, Kotlin Multiplatform, an open-source technology built by JetBrains that allows developers to share code across platforms while retaining the benefits of native programming, has become Stable and is now 100% ready for use in production.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |