-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (49 loc) · 1.66 KB
/
build.gradle
File metadata and controls
58 lines (49 loc) · 1.66 KB
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
plugins {
id 'com.android.application'
}
android {
namespace 'globus.javaDemo'
compileOptions {
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
defaultConfig {
applicationId "globus.javaDemo"
minSdkVersion min_sdk_version
compileSdkVersion = sdk_version
targetSdkVersion sdk_version
versionCode version_code
versionName glmap_version
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
jniLibs {
pickFirsts += ['lib/*/*.so']
}
}
// If world and font files are compressed - GLMap will decompress and cache them during initialization.
// This will take some time and space on device.
// You can disable compression for them in resulting apk file to speedup loading time.
androidResources {
noCompress 'vm', 'ttf', 'otf'
}
}
dependencies {
implementation "androidx.appcompat:appcompat:$app_compat_version"
implementation "androidx.multidex:multidex:$multidex_version"
implementation "com.google.android.material:material:$material_version"
implementation "com.google.android.gms:play-services-location:$gms_location_version"
implementation "globus:glmap:$glmap_version"
implementation "globus:glroute:$glmap_version"
implementation "globus:glsearch:$glmap_version"
}
//Uncomment if snapshots used
//configurations.configureEach {
// resolutionStrategy.cacheChangingModulesFor 1, 'minutes'
//}