Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency app.cash.molecule:molecule-runtime to v2 (#1437)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [app.cash.molecule:molecule-runtime](https://togithub.com/cashapp/molecule) | dependencies | major | `1.4.3` -> `2.0.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>cashapp/molecule (app.cash.molecule:molecule-runtime)</summary> ### [`v2.0.0`](https://togithub.com/cashapp/molecule/blob/HEAD/CHANGELOG.md#200---2024-05-28) [Compare Source](https://togithub.com/cashapp/molecule/compare/1.4.3...2.0.0) New: - Support for Kotlin 2.0.0! Changed: - Remove our Gradle plugin in favor of JetBrains' (see below for more). Fixed: - Mac OS `DisplayLinkClock` was updated to correctly use a "static" function for pointer-passing to `CVDisplayLink`, as newly-enforced by Kotlin 2.0. This should not cause a behavior change. Note: This release is otherwise binary-compatible with the 1.x versions. The major version bump is due to the build change only. ##### Gradle plugin removed This version of Molecule removes the custom Gradle plugin in favor of [the official JetBrains Compose compiler plugin](https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compiler.html) which ships as part of Kotlin itself. Each module in which you had previously applied the `app.cash.molecule` plugin should be changed to apply `org.jetbrains.kotlin.plugin.compose` instead. The Molecule runtime will no longer be added as a result of the plugin change, and so any module which references Molecule APIs like `launchMolecule` should apply the `app.cash.molecule:molecule-runtime` dependency. For posterity, the Kotlin version compatibility table and compiler version customization for our old Molecule Gradle plugin will be archived here: <details> <summary>Molecule 1.x Gradle plugin Kotlin compatibility table</summary> <p> Since Kotlin compiler plugins are an unstable API, certain versions of Molecule only work with certain versions of Kotlin. | Kotlin | Molecule | |--------|----------------| | 1.9.24 | 1.4.3 | | 1.9.23 | 1.4.2 | | 1.9.22 | 1.3.2 - 1.4.1 | | 1.9.21 | 1.3.1 | | 1.9.20 | 1.3.0 | | 1.9.10 | 1.2.1 | | 1.9.0 | 1.1.0 - 1.2.0 | | 1.8.22 | 0.11.0 - 1.0.0 | | 1.8.21 | 0.10.0 | | 1.8.20 | 0.9.0 | | 1.8.10 | 0.8.0 | | 1.8.0 | 0.7.0 - 0.7.1 | | 1.7.20 | 0.6.0 - 0.6.1 | | 1.7.10 | 0.4.0 - 0.5.0 | | 1.7.0 | 0.3.0 - 0.3.1 | | 1.6.10 | 0.2.0 | | 1.5.31 | 0.1.0 | </p> </details> <details> <summary>Molecule 1.x Gradle plugin Compose compiler customization instructions</summary> <p> Each version of Molecule 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: ```kotlin molecule { kotlinCompilerPlugin.set("1.4.8") } ``` To use an alternate Compose compiler dependency: ```kotlin molecule { kotlinCompilerPlugin.set("com.example:custom-compose-compiler:1.0.0") } ``` </p> </details> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODEuMyIsInVwZGF0ZWRJblZlciI6IjM3LjM4MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
- Loading branch information