Skip to content

Commit 45bba1d

Browse files
committed
Update integration guide
1 parent 31ab0a7 commit 45bba1d

File tree

1 file changed

+24
-31
lines changed

1 file changed

+24
-31
lines changed

docs/Integration.md

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,29 @@ repositories {
1313
## Map
1414

1515
```groovy
16-
implementation 'com.github.mapsforge.vtm:vtm:[CURRENT-VERSION]'
17-
implementation 'com.github.mapsforge.vtm:vtm-themes:[CURRENT-VERSION]'
16+
implementation 'com.github.mapsforge.vtm:vtm:[CURRENT-VERSION]@jar'
17+
implementation 'com.github.mapsforge.vtm:vtm-themes:[CURRENT-VERSION]@jar'
1818
```
1919

2020
## Android
2121

2222
```groovy
23-
implementation 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]'
24-
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-armeabi-v7a'
25-
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-arm64-v8a'
26-
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-x86'
27-
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-x86_64'
23+
implementation 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]@jar'
24+
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-armeabi-v7a@jar'
25+
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-arm64-v8a@jar'
26+
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-x86@jar'
27+
runtimeOnly 'com.github.mapsforge.vtm:vtm-android:[CURRENT-VERSION]:natives-x86_64@jar'
2828
implementation 'com.caverock:androidsvg:1.4'
2929
```
3030

3131
## Desktop
3232

3333
```groovy
34-
implementation 'com.github.mapsforge.vtm:vtm-gdx:[CURRENT-VERSION]'
35-
implementation 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]'
36-
runtimeOnly 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]:natives-linux'
37-
runtimeOnly 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]:natives-osx'
38-
runtimeOnly 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]:natives-windows'
34+
implementation 'com.github.mapsforge.vtm:vtm-gdx:[CURRENT-VERSION]@jar'
35+
implementation 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]@jar'
36+
runtimeOnly 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]:natives-linux@jar'
37+
runtimeOnly 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]:natives-osx@jar'
38+
runtimeOnly 'com.github.mapsforge.vtm:vtm-desktop:[CURRENT-VERSION]:natives-windows@jar'
3939
implementation 'com.badlogicgames.gdx:gdx:1.11.0'
4040
runtimeOnly 'com.badlogicgames.gdx:gdx-platform:1.11.0:natives-desktop'
4141
implementation 'guru.nidi.com.kitfox:svgSalamander:1.1.3'
@@ -45,7 +45,7 @@ implementation 'net.sf.kxml:kxml2:2.3.0'
4545
### LWJGL 2
4646

4747
```groovy
48-
implementation 'com.github.mapsforge.vtm:vtm-desktop-lwjgl:[CURRENT-VERSION]'
48+
implementation 'com.github.mapsforge.vtm:vtm-desktop-lwjgl:[CURRENT-VERSION]@jar'
4949
implementation 'com.badlogicgames.gdx:gdx-backend-lwjgl:1.11.0'
5050
implementation 'org.lwjgl.lwjgl:lwjgl:2.9.3'
5151
runtimeOnly 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-linux'
@@ -56,7 +56,7 @@ runtimeOnly 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-windows'
5656
### LWJGL 3
5757

5858
```groovy
59-
implementation 'com.github.mapsforge.vtm:vtm-desktop-lwjgl3:[CURRENT-VERSION]'
59+
implementation 'com.github.mapsforge.vtm:vtm-desktop-lwjgl3:[CURRENT-VERSION]@jar'
6060
implementation 'com.badlogicgames.gdx:gdx-backend-lwjgl3:1.11.0'
6161
implementation 'org.lwjgl:lwjgl:3.3.1'
6262
runtimeOnly 'org.lwjgl:lwjgl:3.3.1:natives-linux'
@@ -69,23 +69,23 @@ runtimeOnly 'org.lwjgl:lwjgl:3.3.1:natives-windows'
6969
### Hillshading
7070

7171
```groovy
72-
implementation 'com.github.mapsforge.vtm:vtm-hillshading:[CURRENT-VERSION]'
73-
implementation 'com.github.mapsforge.mapsforge:mapsforge-core:[CURRENT-VERSION]'
74-
implementation 'com.github.mapsforge.mapsforge:mapsforge-map:[CURRENT-VERSION]'
75-
implementation 'com.github.mapsforge.mapsforge:mapsforge-map-android:[CURRENT-VERSION]'
72+
implementation 'com.github.mapsforge.vtm:vtm-hillshading:[CURRENT-VERSION]@jar'
73+
implementation 'com.github.mapsforge.mapsforge:mapsforge-core:[CURRENT-VERSION]@jar'
74+
implementation 'com.github.mapsforge.mapsforge:mapsforge-map:[CURRENT-VERSION]@jar'
75+
implementation 'com.github.mapsforge.mapsforge:mapsforge-map-android:[CURRENT-VERSION]@jar'
7676
```
7777

7878
### Overlays
7979

8080
```groovy
81-
implementation 'com.github.mapsforge.vtm:vtm-jts:[CURRENT-VERSION]'
81+
implementation 'com.github.mapsforge.vtm:vtm-jts:[CURRENT-VERSION]@jar'
8282
implementation 'org.locationtech.jts:jts-core:1.20.0'
8383
```
8484

8585
### Online tiles
8686

8787
```groovy
88-
implementation 'com.github.mapsforge.vtm:vtm-http:[CURRENT-VERSION]'
88+
implementation 'com.github.mapsforge.vtm:vtm-http:[CURRENT-VERSION]@jar'
8989
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
9090
implementation 'com.squareup.okio:okio:3.6.0'
9191
implementation 'com.squareup.okio:okio-jvm:3.6.0'
@@ -94,8 +94,8 @@ implementation 'com.squareup.okio:okio-jvm:3.6.0'
9494
### MBTiles
9595

9696
```groovy
97-
implementation 'com.github.mapsforge.vtm:vtm-android-mvt:[CURRENT-VERSION]'
98-
implementation 'com.github.mapsforge.vtm:vtm-mvt:[CURRENT-VERSION]'
97+
implementation 'com.github.mapsforge.vtm:vtm-mvt:[CURRENT-VERSION]@jar'
98+
implementation 'com.github.mapsforge.vtm:vtm-android-mvt:[CURRENT-VERSION]@jar'
9999
implementation 'com.google.protobuf:protobuf-java:3.24.2'
100100
implementation 'io.github.ci-cmg:mapbox-vector-tile:4.0.6'
101101
implementation 'org.locationtech.jts:jts-core:1.20.0'
@@ -104,7 +104,7 @@ implementation 'org.locationtech.jts:jts-core:1.20.0'
104104
### Mapbox vector tiles
105105

106106
```groovy
107-
implementation 'com.github.mapsforge.vtm:vtm-mvt:[CURRENT-VERSION]'
107+
implementation 'com.github.mapsforge.vtm:vtm-mvt:[CURRENT-VERSION]@jar'
108108
implementation 'com.google.protobuf:protobuf-java:3.24.2'
109109
implementation 'io.github.ci-cmg:mapbox-vector-tile:4.0.6'
110110
implementation 'org.locationtech.jts:jts-core:1.20.0'
@@ -113,19 +113,12 @@ implementation 'org.locationtech.jts:jts-core:1.20.0'
113113
### GeoJSON vector tiles
114114

115115
```groovy
116-
implementation 'com.github.mapsforge.vtm:vtm-json:[CURRENT-VERSION]'
116+
implementation 'com.github.mapsforge.vtm:vtm-json:[CURRENT-VERSION]@jar'
117117
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.9.9'
118118
implementation 'com.fasterxml.jackson.core:jackson-core:2.9.9'
119119
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.9'
120120
```
121121

122-
### jeo (indoor maps)
123-
124-
```groovy
125-
implementation 'com.github.mapsforge.vtm:vtm-jeo:[CURRENT-VERSION]'
126-
implementation 'com.github.jeo.jeo:jeo-carto:master-SNAPSHOT'
127-
```
128-
129122
## Snapshots
130123

131124
See the instructions on [JitPack](https://jitpack.io/#mapsforge/vtm).

0 commit comments

Comments
 (0)