Skip to content

Commit

Permalink
change compile to implementation (#1880)
Browse files Browse the repository at this point in the history
compile is deprecated from new version of graddle
  • Loading branch information
flug committed Mar 31, 2023
1 parent 5cc6407 commit d4dde39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repositories {
}
dependencies {
compile 'org.osmdroid:osmdroid-android:<VERSION>'
implementation 'org.osmdroid:osmdroid-android:<VERSION>'
}
```

Expand Down Expand Up @@ -64,7 +64,7 @@ repositories {
}
}
dependencies {
compile 'org.osmdroid:osmdroid-android:<VERSION>-SNAPSHOT:debug@aar'
implementation 'org.osmdroid:osmdroid-android:<VERSION>-SNAPSHOT:debug@aar'
}
```

Expand Down Expand Up @@ -176,7 +176,7 @@ allprojects {
Then in your APK or AAR project that needs osmdroid.

```
compile 'org.osmdroid:osmdroid-android:<VERSION>-SNAPSHOT:debug@aar'
implementation 'org.osmdroid:osmdroid-android:<VERSION>-SNAPSHOT:debug@aar'
```
Where VERSION is the version listed as the value for `pom.version` in osmdroid's `gradle.properties`. Note that when using the release versions from Maven Central, drop the `:debug@aar` part. When using a "release" version that you build locally with gradle, you'll need `:debug@aar` instead.

0 comments on commit d4dde39

Please sign in to comment.