0.13.0 #381
0.13.0
#381
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New:
Changed:
Note: Version 0.12.0 was also released today, but it still supports Kotlin 1.9.24.
Check out its release entry for more on what's new.
Gradle plugin removed
This version of Mosaic removes the custom Gradle plugin in favor of the official JetBrains Compose compiler plugin which ships as part of Kotlin itself.
Each module in which you had previously applied the
com.jakewharton.mosaic
plugin should be changed to applyorg.jetbrains.kotlin.plugin.compose
instead.The Mosaic runtime will no longer be added as a result of the plugin change, and so any module which references Mosaic APIs should apply the
com.jakewharton.mosaic:mosaic-runtime
dependency.For posterity, the Kotlin version compatibility table and compiler version customization for our old Mosaic Gradle plugin will be archived here:
Mosaic 0.12.0 Gradle plugin Kotlin compatibility table
Since Kotlin compiler plugins are an unstable API, certain versions of Mosaic only work with
certain versions of Kotlin.
Mosaic 0.12.0 Gradle plugin Compose compiler customization instructions
Each version of Mosaic ships with a specific JetBrains Compose compiler version which works with
a single version of Kotlin (see version table above). Newer versions of the Compose
compiler or alternate Compose compilers can be specified using the Gradle extension.
To use a new version of the JetBrains Compose compiler version:
mosaic { kotlinCompilerPlugin.set("1.4.8") }
To use an alternate Compose compiler dependency:
mosaic { kotlinCompilerPlugin.set("com.example:custom-compose-compiler:1.0.0") }
This discussion was created from the release 0.13.0.
Beta Was this translation helpful? Give feedback.
All reactions