Skip to content

Commit

Permalink
Release v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalossilva committed Jul 8, 2024
1 parent 0df1e12 commit 31f07ba
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Notable changes are documented in this file, whose format follows [Keep a Change

## [Unreleased]

## [0.9.0] - 2024-07-08

> [!IMPORTANT]
> Version 0.9.0 and higher of kotlinx-resources target Kotlin 2.0 are incompatible with Kotlin 1.9.
> Only lower versions (even if published in the future), alongside the `k1` branch, target Kotlin 1.9.
### Added

- Support for Kotlin 2.0.0 (#115 - thanks @DRSchlaubi!)

## [0.4.2] - 2024-07-03

### Fixed
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Kotlin Multiplatform (KMP) plugin and library that add support for reading resou

The plugin and a library work in tandem to provide a unified API across platforms for reading resources from each source set's `resources` folder.

## Usage
## Setup

List the plugin in your `build.gradle.kts`:

Expand All @@ -41,7 +41,14 @@ kotlin {
}
```

Once that's done, a `Resource` class becomes available in all test sources, with a simple API:
> [!IMPORTANT]
> The latest version targets Kotlin 2.0 and is incompatible with Kotlin 1.9.
> On 2.0 and above, use the latest version available.
> On 1.9, use the latest version _below v0.9.0_.
## Usage

Once setup is done done, a `Resource` class becomes available in all test sources, with a simple API:

```kotlin
class Resource(path: String) {
Expand Down

0 comments on commit 31f07ba

Please sign in to comment.