/
build.gradle
60 lines (52 loc) · 1.97 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.graphhopper.android"
minSdkVersion 10
targetSdkVersion 22
}
buildTypes {
all {
minifyEnabled true
useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
/* CGIARProvider refers to java.awt
* Helper7 refers to java.lang.management
* HeightTile refers to javax.imageio and java.awt
* OSMElement refers to javax.xml.stream
*/
disable 'InvalidPackage'
}
}
/** only necessary if you need to use latest SNAPSHOT
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
**/
dependencies {
implementation(group: 'com.graphhopper', name: 'graphhopper-core', version: '0.10-SNAPSHOT') {
exclude group: 'com.google.protobuf', module: 'protobuf-java'
exclude group: 'org.openstreetmap.osmosis', module: 'osmosis-osm-binary'
exclude group: 'org.apache.xmlgraphics', module: 'xmlgraphics-commons'
}
implementation 'org.mapsforge:vtm:0.9.2'
implementation 'org.mapsforge:vtm-android:0.9.2'
implementation 'org.mapsforge:vtm-android:0.9.2:natives-armeabi'
implementation 'org.mapsforge:vtm-android:0.9.2:natives-armeabi-v7a'
implementation 'org.mapsforge:vtm-android:0.9.2:natives-arm64-v8a'
implementation 'org.mapsforge:vtm-android:0.9.2:natives-x86'
implementation 'org.mapsforge:vtm-android:0.9.2:natives-x86_64'
implementation('org.mapsforge:vtm-jts:0.9.2') {
exclude group: 'com.vividsolutions', module: 'jts'
}
implementation 'org.mapsforge:vtm-themes:0.9.2'
implementation 'com.caverock:androidsvg:1.2.2-beta-1'
implementation 'org.slf4j:slf4j-api:1.7.25'
implementation 'org.slf4j:slf4j-android:1.7.25'
}