Skip to content

Commit

Permalink
Prepare version 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Aug 9, 2023
1 parent c82b717 commit 8c90a77
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 7 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
## [Unreleased]


## [0.9.0] - 2023-08-09

New:
- Support for specifying custom Compose compiler versions. This will allow you to use the latest
version of Molecule with newer versions of Kotlin than it explicitly supports.

See [the README](https://github.com/JakeWharton/mosaic/#custom-compose-compiler) for more information.


## [0.8.0] - 2023-07-20

New:
Expand Down Expand Up @@ -89,7 +98,8 @@ Breaking:
Initial release!


[Unreleased]: https://github.com/JakeWharton/mosaic/compare/0.8.0...HEAD
[Unreleased]: https://github.com/JakeWharton/mosaic/compare/0.9.0...HEAD
[0.9.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.9.0
[0.8.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.8.0
[0.7.1]: https://github.com/JakeWharton/mosaic/releases/tag/0.7.1
[0.7.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.7.0
Expand Down
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ buildscript {
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.8.0'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.9.0'
}
}
Expand All @@ -111,7 +111,7 @@ certain versions of Kotlin.

| Kotlin | Mosaic |
|--------|---------------|
| 1.9.0 | 0.8.0 |
| 1.9.0 | 0.8.0 - 0.9.0 |
| 1.8.22 | 0.7.1 |
| 1.8.21 | 0.7.0 |
| 1.8.20 | 0.6.0 |
Expand All @@ -136,7 +136,7 @@ buildscript {
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.9.0-SNAPSHOT'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.10.0-SNAPSHOT'
}
}
Expand Down Expand Up @@ -202,6 +202,26 @@ fun main() = runMosaic {
}
```

### Custom Compose Compiler

Each version of Molecule ships with a specific JetBrains Compose compiler version which works with
a single version of Kotlin (see [version table](#Usage) 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")
}
```


# License

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.jakewharton.mosaic
VERSION_NAME=0.9.0-SNAPSHOT
VERSION_NAME=0.9.0

SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ interface MosaicExtension {
*
* Example: using a custom version of the JetBrains Compose compiler
* ```kotlin
* redwood {
* mosaic {
* kotlinCompilerPlugin.set("1.4.8")
* }
* ```
*
* Example: using a custom Maven coordinate for the Compose compiler
* ```kotlin
* redwood {
* mosaic {
* kotlinCompilerPlugin.set("com.example:custom-compose-compiler:1.0.0")
* }
* ```
Expand Down

0 comments on commit 8c90a77

Please sign in to comment.