-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathinclude.gradle
More file actions
33 lines (28 loc) · 1.45 KB
/
include.gradle
File metadata and controls
33 lines (28 loc) · 1.45 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
dependencies {
def DEFAULT_PLAY_SERVICES_VERSION = "11.8.0"
def DEFAULT_SUPPORT_LIB_VERSION = "27.0.1"
def supportLibVersion = DEFAULT_SUPPORT_LIB_VERSION
def googlePlayServicesLocationVersion = DEFAULT_PLAY_SERVICES_VERSION
if (project.hasProperty('googlePlayServicesLocationVersion')){
googlePlayServicesLocationVersion = project.googlePlayServicesLocationVersion
} else if (project.hasProperty('googlePlayServicesVersion')){
googlePlayServicesLocationVersion = project.googlePlayServicesVersion
}
if (project.hasProperty('supportLibVersion')) {
supportLibVersion = project.supportLibVersion
} else if (project.hasProperty('supportVersion')) {
supportLibVersion = project.supportVersion
}
println "******************************************************************"
println "* nativescript-background-geolocation"
println "* - googlePlayServicesLocationVersion: $googlePlayServicesLocationVersion"
println "* - supportLibVersion: $supportLibVersion"
println "******************************************************************"
compile "com.google.android.gms:play-services-location:$googlePlayServicesLocationVersion"
compile "com.android.support:appcompat-v7:$supportLibVersion"
compile 'com.squareup.okhttp3:okhttp:3.10.0'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'com.github.tony19:logback-android:1.1.1-9'
compile 'com.intentfilter:android-permissions:0.1.6'
}