Skip to content

Commit

Permalink
Merge pull request #127 from MohamedRejeb/0.5.x
Browse files Browse the repository at this point in the history
Add snapshots to docs
  • Loading branch information
MohamedRejeb authored Jul 25, 2024
2 parents a3883d7 + 4bf2219 commit c13614a
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,34 @@ kotlin {
...
```

> **Important:** Exporting `calf-ui` to binaries is required to make it work on iOS.
> **Important:** Exporting `calf-ui` to binaries is required to make it work on iOS.
## Snapshots

Add the snapshots repository to your list of repositories in `build.gradle.kts`:

```kotlin
allprojects {
repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
}
```

Or to your dependency resolution management in `settings.gradle.kts`:

```kotlin
dependencyResolutionManagement {
repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
}
```

Use the snapshot version:

```kotlin
api("com.mohamedrejeb.calf:calf-ui:0.5.0-SNAPSHOT")
```

>Note: Snapshots are deployed for each new commit on `main` that passes CI. They can potentially contain breaking changes or may be unstable. Use at your own risk.

0 comments on commit c13614a

Please sign in to comment.