Skip to content

Commit 7eaae97

Browse files
committed
Streamline installation instructions
1 parent 9260b9c commit 7eaae97

1 file changed

Lines changed: 2 additions & 52 deletions

File tree

README.md

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -9,65 +9,15 @@ A modern, Kotlin-first MapView replacement for Android — powered by [OpenStree
99

1010
## Installation
1111

12-
### Maven Central (Recommended)
13-
14-
Add the dependency to the module `build.gradle.kts`:
12+
Add to your `build.gradle.kts`:
1513

1614
```kotlin
1715
dependencies {
1816
implementation("de.afarber:openmapview:0.2.0")
1917
}
2018
```
2119

22-
Or for Groovy `build.gradle`:
23-
24-
```groovy
25-
dependencies {
26-
implementation 'de.afarber:openmapview:0.2.0'
27-
}
28-
```
29-
30-
### JitPack (Alternative)
31-
32-
JitPack provides instant access to GitHub releases and supports development snapshots.
33-
34-
Add the JitPack repository in `settings.gradle.kts`:
35-
36-
```kotlin
37-
dependencyResolutionManagement {
38-
repositories {
39-
google()
40-
mavenCentral()
41-
maven { url = uri("https://jitpack.io") }
42-
}
43-
}
44-
```
45-
46-
Then add the dependency:
47-
48-
```kotlin
49-
dependencies {
50-
implementation("com.github.afarber:OpenMapView:0.2.0")
51-
}
52-
```
53-
54-
For Groovy `settings.gradle`:
55-
56-
```groovy
57-
dependencyResolutionManagement {
58-
repositories {
59-
google()
60-
mavenCentral()
61-
maven { url 'https://jitpack.io' }
62-
}
63-
}
64-
```
65-
66-
```groovy
67-
dependencies {
68-
implementation 'com.github.afarber:OpenMapView:0.2.0'
69-
}
70-
```
20+
The library is available on [Maven Central](https://central.sonatype.com/artifact/de.afarber/openmapview). Alternative distribution via [JitPack](https://jitpack.io/#afarber/OpenMapView) is also supported.
7121

7222
## Features
7323

0 commit comments

Comments
 (0)