1
1
apply plugin : ' com.android.library'
2
2
3
- // noinspection GroovyMissingReturnStatement
3
+
4
+ ext {
5
+ bintrayRepo = ' droidlocation'
6
+ bintrayName = ' droidlocationlibrary'
7
+
8
+ publishedGroupId = ' ax.synt'
9
+ libraryName = ' DroidLocation'
10
+ artifact = ' droidlocation'
11
+
12
+ libraryDescription = ' Getting location updates requires lots of boilerplate code in Android, You need to take care of\n ' +
13
+ ' \n ' +
14
+ ' Google Play services availability Check, Update Google play Service Dialog\n ' +
15
+ ' Creation of GoogleApiClient and its callbacks connected,disconnected etc.\n ' +
16
+ ' Stopping and releasing resources for location updates\n ' +
17
+ ' Handling Location permission scenarios\n ' +
18
+ ' Checking Location services are On or Off\n ' +
19
+ ' Getting last known location is not so easy either\n ' +
20
+ ' Fallback to last known location if not getting location after certain duration\n ' +
21
+ ' DroidLocation does all this stuff in background, so that you can concentrate on your business logic than handling all above'
22
+
23
+ siteUrl = ' https://github.com/JobGetabu/DroidLocation'
24
+ gitUrl = ' https://github.com/JobGetabu/DroidLocation.git'
25
+
26
+ libraryVersion = ' 1.0.0'
27
+
28
+ developerId = ' JobGetabu'
29
+ developerName = ' Job Getabu'
30
+ developerEmail
= ' [email protected] '
31
+
32
+ licenseName = ' The Apache Software License, Version 2.0'
33
+ licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
34
+ allLicenses = [" Apache-2.0" ]
35
+ }
36
+
4
37
android {
5
38
compileSdkVersion 28
6
39
@@ -23,4 +56,7 @@ dependencies {
23
56
provided " com.google.android.gms:play-services-location:16.0.0"
24
57
25
58
compile ' com.android.support:appcompat-v7:28.0.0'
26
- }
59
+ }
60
+
61
+ apply from : ' https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
62
+ apply from : ' https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
0 commit comments