![]() Moving the Compiler library to a different versioning scheme is the first step in decoupling versioning for the different Compose library groups. To help you choose the version that matches your project, check out the Compose-Kotlin compatibility map. The Compose Compiler is built as a Kotlin Compiler Plugin, and so you must use a version of the Compose Compiler which is compatible with the version of Kotlin that you have chosen. Since the Compose Compiler is both forwards and backwards compatible, you will be able to upgrade it as soon as a new version is released. This means the Compose Compiler version numbers will progress at a faster pace than most other Compose libraries. We want to make sure that you can use the latest and greatest features (and bug fixes) from both Compose and Kotlin, which is why we plan to release stable versions of the Compose Compiler on a much more regular basis. To upgrade the version of the Compose Compiler in your app, specify the kotlinCompilerExtensionVersion in your adle file.Ĭompose and Kotlin are highly coupled, and we’ve heard your feedback that Compose compiler updates are needed to allow you to upgrade your Kotlin version. This means you can upgrade your Compose Compiler to 1.2.0 stable and use Kotlin 1.7.0, while leaving your other Compose libraries on their current version, for example 1.1.0 stable. Today we’re releasing the 1.2.0 stable version that brings support for Kotlin 1.7.0! The release is both backwards and forwards compatible with the Compose UI libraries and the Compose Runtime library. The first library to break away from the single Compose version is the Compose Compiler. This creates the possibility for sub-groups such as or to follow their own release cycles.Īllowing these libraries to be versioned independently will decouple dependencies which were previously implicitly coupled, thereby making it easier to incrementally upgrade your application and therefore stay up-to-date with the latest Compose features. Starting today, the various Jetpack Compose libraries will move to independent versioning schemes. ![]() ![]() Posted by Jolanda Verhoef, Android Developer Relations Engineer ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |