Skip to content

Commit

Permalink
Update docs for adding the dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves authored Jul 18, 2024
1 parent e989c19 commit aba9bcf
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,29 @@
## Download
[![Maven Central](https://img.shields.io/maven-central/v/com.github.skydoves/cloudy.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22cloudy%22)

### Version Catalog

If you're using Version Catalog, you can configure the dependency by adding it to your `libs.versions.toml` file as follows:

```toml
[versions]
#...
cloudy = "0.2.0"

[libraries]
#...
compose-cloudy = { module = "com.github.skydoves:cloudy", version.ref = "cloudy" }
```

### Gradle
Add the dependency below to your **module**'s `build.gradle.kts` file:

Add the dependency below to your **module**'s `build.gradle` file:
```gradle
dependencies {
implementation "com.github.skydoves:cloudy:0.2.0"
implementation("com.github.skydoves:cloudy:0.2.0")
// if you're using Version Catalog
implementation(libs.compose.cloudy)
}
```

Expand Down

0 comments on commit aba9bcf

Please sign in to comment.