Skip to content

Commit

Permalink
README: use implementation instead of api in the Gradle examples
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Aug 18, 2023
1 parent 9497efc commit 91b52ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ please use that repository **only** for the artifact groups that it supplies
Then, in your `build.gradle` file you can list the dependencies, for example:
```groovy
dependencies {
api "io.sf.carte:echosvg-transcoder:${echosvgVersion}"
implementation "io.sf.carte:echosvg-transcoder:${echosvgVersion}"
}
```
or, if you want all of the main modules:
```groovy
dependencies {
api "io.sf.carte:echosvg-all:${echosvgVersion}"
implementation "io.sf.carte:echosvg-all:${echosvgVersion}"
}
```
where `echosvgVersion` would be defined in a `gradle.properties` file (current
Expand Down

0 comments on commit 91b52ed

Please sign in to comment.