Skip to content

Commit

Permalink
kn: update README to mention SNAPSHOT version
Browse files Browse the repository at this point in the history
Trying to prevent people from running into zxing-cpp#835 until the release is
published.
  • Loading branch information
axxel committed Sep 17, 2024
1 parent 10a6762 commit fd4d337
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions wrappers/kn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

## Install

The easiest way to use the library is to fetch if from _mavenCentral_. Simply add
The easiest way to use the library is to fetch it from _mavenCentral_. Simply add

```gradle
implementation("io.github.zxing-cpp:kotlin-native:2.2.1")
implementation("io.github.zxing-cpp:kotlin-native:2.2.1-SNAPSHOT")
```

to your `build.gradle.kts` file in the `dependencies` section of `nativeMain` source set.
To access the SNAPSHOT version, you also need to add a separate repositories entry in your build.cradle file:

```gradle
maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") }
```

## Use

Expand Down

0 comments on commit fd4d337

Please sign in to comment.