From 124158b59f18cd4c54c66c9438a1349c37b2a126 Mon Sep 17 00:00:00 2001 From: JobGetabu Date: Mon, 29 Apr 2019 11:03:04 +0300 Subject: [PATCH] added licenses --- build.gradle | 2 ++ droidLocationLibrary/build.gradle | 40 ++++++++++++++++++++++++++-- licenses/android-sdk-license | 3 +++ licenses/intel-android-extra-license | 2 ++ 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 licenses/android-sdk-license create mode 100644 licenses/intel-android-extra-license diff --git a/build.gradle b/build.gradle index 7487467..5585f0a 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,8 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.4.0' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0' + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/droidLocationLibrary/build.gradle b/droidLocationLibrary/build.gradle index 173a409..03495ce 100644 --- a/droidLocationLibrary/build.gradle +++ b/droidLocationLibrary/build.gradle @@ -1,6 +1,39 @@ apply plugin: 'com.android.library' -//noinspection GroovyMissingReturnStatement + +ext { + bintrayRepo = 'droidlocation' + bintrayName = 'droidlocationlibrary' + + publishedGroupId = 'ax.synt' + libraryName = 'DroidLocation' + artifact = 'droidlocation' + + libraryDescription = 'Getting location updates requires lots of boilerplate code in Android, You need to take care of\n' + + '\n' + + 'Google Play services availability Check, Update Google play Service Dialog\n' + + 'Creation of GoogleApiClient and its callbacks connected,disconnected etc.\n' + + 'Stopping and releasing resources for location updates\n' + + 'Handling Location permission scenarios\n' + + 'Checking Location services are On or Off\n' + + 'Getting last known location is not so easy either\n' + + 'Fallback to last known location if not getting location after certain duration\n' + + 'DroidLocation does all this stuff in background, so that you can concentrate on your business logic than handling all above' + + siteUrl = 'https://github.com/JobGetabu/DroidLocation' + gitUrl = 'https://github.com/JobGetabu/DroidLocation.git' + + libraryVersion = '1.0.0' + + developerId = 'JobGetabu' + developerName = 'Job Getabu' + developerEmail = 'getabujob@gmail.com' + + licenseName = 'The Apache Software License, Version 2.0' + licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' + allLicenses = ["Apache-2.0"] +} + android { compileSdkVersion 28 @@ -23,4 +56,7 @@ dependencies { provided "com.google.android.gms:play-services-location:16.0.0" compile 'com.android.support:appcompat-v7:28.0.0' -} \ No newline at end of file +} + +apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle' +apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle' \ No newline at end of file diff --git a/licenses/android-sdk-license b/licenses/android-sdk-license new file mode 100644 index 0000000..9753ed3 --- /dev/null +++ b/licenses/android-sdk-license @@ -0,0 +1,3 @@ + +8933bad161af4178b1185d1a37fbf41ea5269c55 +d56f5187479451eabf01fb78af6dfcb131a6481e \ No newline at end of file diff --git a/licenses/intel-android-extra-license b/licenses/intel-android-extra-license new file mode 100644 index 0000000..f82e65b --- /dev/null +++ b/licenses/intel-android-extra-license @@ -0,0 +1,2 @@ + +d975f751698a77b662f1254ddbeed3901e976f5a \ No newline at end of file