Update dependency app.cash.molecule:molecule-runtime to v2 #1437
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.4.3
->2.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cashapp/molecule (app.cash.molecule:molecule-runtime)
v2.0.0
Compare Source
New:
Changed:
Fixed:
DisplayLinkClock
was updated to correctly use a "static" function for pointer-passing toCVDisplayLink
, 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 which ships as part of Kotlin itself.
Each module in which you had previously applied the
app.cash.molecule
plugin should be changed to applyorg.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 theapp.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:
Molecule 1.x Gradle plugin Kotlin compatibility table
Since Kotlin compiler plugins are an unstable API, certain versions of Molecule only work with
certain versions of Kotlin.
Molecule 1.x Gradle plugin Compose compiler customization instructions
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:
molecule { kotlinCompilerPlugin.set("1.4.8") }
To use an alternate Compose compiler dependency:
molecule { kotlinCompilerPlugin.set("com.example:custom-compose-compiler:1.0.0") }
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.
This PR has been generated by Renovate Bot.