Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Dec 16, 2024
1 parent efa6109 commit 895aaed
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,29 @@ build.gradle.kts:
```groovy
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.github.revxrsal.zapper") version("0.0.1")
id("io.github.revxrsal.zapper") version "0.0.1"
}
```

Then, add your dependencies using the `zap` configuration:

```groovy
dependencies {
// an example dependency
zap("com.squareup.moshi:moshi:1.15.2")
// use the dependency notation as you would with other dependencies
zap("com.squareup.moshi", "moshi", "1.15.2")
// an example dependency
zap("com.squareup.moshi:moshi:1.15.2")
// you can use the dependency notation and exclude modules as you
// would with other configurations
zap("com.squareup.moshi", "moshi", "1.15.2") {
exclude(module: "kotlin")
}
zap("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0")
}
```

You can provide additional configuration using the `zapper` extension:

```groovy
```kt
zapper {
// directory to download dependencies in
libsFolder = "libraries"
Expand Down

0 comments on commit 895aaed

Please sign in to comment.