You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+67-3Lines changed: 67 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,77 @@
3
3
## [Unreleased]
4
4
5
5
New:
6
-
-Nothing yet!
6
+
-Support for Kotlin 2.0.0!
7
7
8
8
Changed:
9
-
-Nothing yet!
9
+
-Remove our Gradle plugin in favor of JetBrains' (see below for more).
10
10
11
11
Fixed:
12
-
- Nothing yet!
12
+
- 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.
13
+
14
+
15
+
### Gradle plugin removed
16
+
17
+
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.
18
+
Each module in which you had previously applied the `app.cash.molecule` plugin should be changed to apply `org.jetbrains.kotlin.plugin.compose` instead.
19
+
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.
20
+
21
+
For posterity, the Kotlin version compatibility table and compiler version customization for our old Molecule Gradle plugin will be archived here:
Copy file name to clipboardExpand all lines: README.md
+14-63Lines changed: 14 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,62 +163,33 @@ For more information see [the `moleculeFlow` documentation](https://cashapp.gith
163
163
164
164
## Usage
165
165
166
-
Add the buildscript dependency and apply the plugin to every module which wants to call `launchMolecule` or define `@Composable` functions for use with Molecule.
166
+
Molecule is a library for Compose, and it relies on JetBrains' Kotlin Compose plugin to be present for use.
167
+
Any module which wants to call `launchMolecule` or define `@Composable` functions for use with Molecule must have this plugin applied.
168
+
For more information, see [the JetBrains Compose compiler documentation](https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compiler.html).
169
+
170
+
Molecule itself can then be added like any other dependency:
0 commit comments