From 256ae61fcc9c0768e8a20da2b12a571b3bb0ed61 Mon Sep 17 00:00:00 2001 From: Enno Gotthold Date: Sat, 15 Jul 2023 16:53:16 +0200 Subject: [PATCH] Gradle: Add vtm dependencies --- build.gradle | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 910bb86c..db93f7e1 100644 --- a/build.gradle +++ b/build.gradle @@ -116,9 +116,23 @@ dependencies { // File select dialog implementation 'com.github.jfmdev:aFileDialog:v1.0.6' - // + // Maps - Mapsforge implementation 'com.github.jspricke.mapsforge-map-whereyougo:mapsforge-map:75d7c20' + // Maps - Mapsforge VTM + String mapsforgeVTMSource = 'org.mapsforge' + String mapsforgeVTMVersion = '0.19.0' + + implementation "$mapsforgeVTMSource:vtm:$mapsforgeVTMVersion" + implementation "$mapsforgeVTMSource:vtm-themes:$mapsforgeVTMVersion" + implementation "$mapsforgeVTMSource:vtm-jts:$mapsforgeVTMVersion" + runtimeOnly "$mapsforgeVTMSource:vtm-android:$mapsforgeVTMVersion:natives-armeabi-v7a" + runtimeOnly "$mapsforgeVTMSource:vtm-android:$mapsforgeVTMVersion:natives-arm64-v8a" + runtimeOnly "$mapsforgeVTMSource:vtm-android:$mapsforgeVTMVersion:natives-x86" + runtimeOnly "$mapsforgeVTMSource:vtm-android:$mapsforgeVTMVersion:natives-x86_64" + implementation "$mapsforgeVTMSource:vtm-android:$mapsforgeVTMVersion" + implementation 'com.caverock:androidsvg:1.4' + // barcode scanner // v4.x: Minimum SDK version 24, downgradable to 14 by using zxing:core 3.3.0, uses androidx implementation 'com.journeyapps:zxing-android-embedded:4.1.0'