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
+73-1Lines changed: 73 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,77 @@ Fixed:
12
12
- Nothing yet!
13
13
14
14
15
+
## [0.13.0] - 2024-05-28
16
+
17
+
New:
18
+
- Support Kotlin 2.0.0!
19
+
20
+
Changed:
21
+
- Remove our Gradle plugin in favor of JetBrains' (see below for more).
22
+
23
+
Note: Version 0.12.0 was also released today, but it still supports Kotlin 1.9.24.
24
+
Check out [its release entry](https://github.com/JakeWharton/mosaic/releases/tag/0.12.0) for more on what's new.
25
+
26
+
27
+
### Gradle plugin removed
28
+
29
+
This version of Mosaic 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.
30
+
Each module in which you had previously applied the `com.jakewharton.mosaic` plugin should be changed to apply `org.jetbrains.kotlin.plugin.compose` instead.
31
+
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.
32
+
33
+
For posterity, the Kotlin version compatibility table and compiler version customization for our old Mosaic Gradle plugin will be archived here:
Copy file name to clipboardExpand all lines: README.md
+13-73Lines changed: 13 additions & 73 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,73 +79,34 @@ fun main() = runMosaic {
79
79
80
80
## Usage
81
81
82
-
In order to use Mosaic you must write your code in Kotlin and must apply the Compose Kotlin
83
-
compiler plugin.
82
+
Mosaic is a library for Compose, and it relies on JetBrains' Kotlin Compose plugin to be present for use.
83
+
Any module which wants to call `runMosaic` or define `@Composable` functions for use with Mosaic must have this plugin applied.
84
+
For more information, see [the JetBrains Compose compiler documentation](https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compiler.html).
84
85
85
-
For Gradle users, the Mosaic Gradle plugin will take care of applying the compiler plugin.
86
+
Mosaic itself can then be added like any other dependency:
0 commit comments