From 96ca6052151b70a81245e9d447ee26abe2d7ff7a Mon Sep 17 00:00:00 2001 From: Sarath S Date: Sun, 12 Sep 2021 20:21:07 +0530 Subject: [PATCH] Up to v1.0.2 for publish --- {AppUpdateChecker => library}/.gitignore | 0 {AppUpdateChecker => library}/build.gradle | 11 ++++++----- {AppUpdateChecker => library}/consumer-rules.pro | 0 {AppUpdateChecker => library}/proguard-rules.pro | 0 .../src/main/AndroidManifest.xml | 0 .../sharkaboi/appupdatechecker/AppUpdateChecker.kt | 0 .../appupdatechecker/extensions/ContextExtensions.kt | 0 .../appupdatechecker/extensions/StringExtensions.kt | 0 .../extensions/ValidationExtensions.kt | 0 .../appupdatechecker/interfaces/IAppUpdateChecker.kt | 0 .../appupdatechecker/mappers/UpdateStateMappers.kt | 0 .../appupdatechecker/models/AppUpdateCheckerSource.kt | 0 .../sharkaboi/appupdatechecker/models/UpdateState.kt | 0 .../appupdatechecker/provider/AppUpdateServices.kt | 0 .../sources/fdroid/FdroidConstants.kt | 0 .../sources/fdroid/FdroidExtensions.kt | 0 .../appupdatechecker/sources/fdroid/FdroidResponse.kt | 0 .../appupdatechecker/sources/fdroid/FdroidService.kt | 0 .../sources/github/GithubConstants.kt | 0 .../appupdatechecker/sources/github/GithubResponse.kt | 0 .../appupdatechecker/sources/github/GithubService.kt | 0 .../appupdatechecker/sources/json/JsonConstants.kt | 0 .../appupdatechecker/sources/json/JsonResponse.kt | 0 .../appupdatechecker/sources/json/JsonService.kt | 0 .../appupdatechecker/sources/xml/XMLConstants.kt | 0 .../appupdatechecker/sources/xml/XMLResponse.kt | 0 .../appupdatechecker/sources/xml/XMLService.kt | 0 .../appupdatechecker/AppUpdateCheckerTest.kt | 0 .../java/com/sharkaboi/appupdatechecker/FdroidTest.kt | 0 .../java/com/sharkaboi/appupdatechecker/GithubTest.kt | 0 .../java/com/sharkaboi/appupdatechecker/JsonTest.kt | 0 .../java/com/sharkaboi/appupdatechecker/XMLTest.kt | 0 settings.gradle | 3 +-- 33 files changed, 7 insertions(+), 7 deletions(-) rename {AppUpdateChecker => library}/.gitignore (100%) rename {AppUpdateChecker => library}/build.gradle (90%) rename {AppUpdateChecker => library}/consumer-rules.pro (100%) rename {AppUpdateChecker => library}/proguard-rules.pro (100%) rename {AppUpdateChecker => library}/src/main/AndroidManifest.xml (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/AppUpdateChecker.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/extensions/ContextExtensions.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/extensions/StringExtensions.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/extensions/ValidationExtensions.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/interfaces/IAppUpdateChecker.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/mappers/UpdateStateMappers.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/models/AppUpdateCheckerSource.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/models/UpdateState.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/provider/AppUpdateServices.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidConstants.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidExtensions.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidResponse.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidService.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubConstants.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubResponse.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubService.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonConstants.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonResponse.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonService.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLConstants.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLResponse.kt (100%) rename {AppUpdateChecker => library}/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLService.kt (100%) rename {AppUpdateChecker => library}/src/test/java/com/sharkaboi/appupdatechecker/AppUpdateCheckerTest.kt (100%) rename {AppUpdateChecker => library}/src/test/java/com/sharkaboi/appupdatechecker/FdroidTest.kt (100%) rename {AppUpdateChecker => library}/src/test/java/com/sharkaboi/appupdatechecker/GithubTest.kt (100%) rename {AppUpdateChecker => library}/src/test/java/com/sharkaboi/appupdatechecker/JsonTest.kt (100%) rename {AppUpdateChecker => library}/src/test/java/com/sharkaboi/appupdatechecker/XMLTest.kt (100%) diff --git a/AppUpdateChecker/.gitignore b/library/.gitignore similarity index 100% rename from AppUpdateChecker/.gitignore rename to library/.gitignore diff --git a/AppUpdateChecker/build.gradle b/library/build.gradle similarity index 90% rename from AppUpdateChecker/build.gradle rename to library/build.gradle index c8675e3..113246f 100644 --- a/AppUpdateChecker/build.gradle +++ b/library/build.gradle @@ -6,8 +6,8 @@ plugins { id 'maven-publish' } -group = 'com.github.sharkaboi' -version = '1.0.1' +group = 'com.github.Sharkaboi' +version = 'v1.0.2' repositories { google() @@ -15,6 +15,7 @@ repositories { maven { url "https://plugins.gradle.org/m2/" } + maven { url "https://jitpack.io" } } android { @@ -24,7 +25,7 @@ android { minSdkVersion 21 targetSdkVersion 31 versionCode 1 - versionName "1.0.1" + versionName "1.0.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } @@ -70,9 +71,9 @@ afterEvaluate { // Creates a Maven publication called "release". release(MavenPublication) { from components.release - groupId = 'com.github.sharkaboi' + groupId = 'com.github.Sharkaboi' artifactId = 'AppUpdateChecker' - version = '1.0.1' + version = 'v1.0.2' } } } diff --git a/AppUpdateChecker/consumer-rules.pro b/library/consumer-rules.pro similarity index 100% rename from AppUpdateChecker/consumer-rules.pro rename to library/consumer-rules.pro diff --git a/AppUpdateChecker/proguard-rules.pro b/library/proguard-rules.pro similarity index 100% rename from AppUpdateChecker/proguard-rules.pro rename to library/proguard-rules.pro diff --git a/AppUpdateChecker/src/main/AndroidManifest.xml b/library/src/main/AndroidManifest.xml similarity index 100% rename from AppUpdateChecker/src/main/AndroidManifest.xml rename to library/src/main/AndroidManifest.xml diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/AppUpdateChecker.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/AppUpdateChecker.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/AppUpdateChecker.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/AppUpdateChecker.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/extensions/ContextExtensions.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/extensions/ContextExtensions.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/extensions/ContextExtensions.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/extensions/ContextExtensions.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/extensions/StringExtensions.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/extensions/StringExtensions.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/extensions/StringExtensions.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/extensions/StringExtensions.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/extensions/ValidationExtensions.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/extensions/ValidationExtensions.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/extensions/ValidationExtensions.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/extensions/ValidationExtensions.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/interfaces/IAppUpdateChecker.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/interfaces/IAppUpdateChecker.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/interfaces/IAppUpdateChecker.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/interfaces/IAppUpdateChecker.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/mappers/UpdateStateMappers.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/mappers/UpdateStateMappers.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/mappers/UpdateStateMappers.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/mappers/UpdateStateMappers.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/models/AppUpdateCheckerSource.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/models/AppUpdateCheckerSource.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/models/AppUpdateCheckerSource.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/models/AppUpdateCheckerSource.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/models/UpdateState.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/models/UpdateState.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/models/UpdateState.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/models/UpdateState.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/provider/AppUpdateServices.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/provider/AppUpdateServices.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/provider/AppUpdateServices.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/provider/AppUpdateServices.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidConstants.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidConstants.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidConstants.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidConstants.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidExtensions.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidExtensions.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidExtensions.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidExtensions.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidResponse.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidResponse.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidResponse.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidResponse.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidService.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidService.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidService.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/fdroid/FdroidService.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubConstants.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubConstants.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubConstants.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubConstants.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubResponse.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubResponse.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubResponse.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubResponse.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubService.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubService.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubService.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubService.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonConstants.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonConstants.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonConstants.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonConstants.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonResponse.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonResponse.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonResponse.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonResponse.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonService.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonService.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonService.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/json/JsonService.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLConstants.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLConstants.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLConstants.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLConstants.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLResponse.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLResponse.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLResponse.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLResponse.kt diff --git a/AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLService.kt b/library/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLService.kt similarity index 100% rename from AppUpdateChecker/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLService.kt rename to library/src/main/java/com/sharkaboi/appupdatechecker/sources/xml/XMLService.kt diff --git a/AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/AppUpdateCheckerTest.kt b/library/src/test/java/com/sharkaboi/appupdatechecker/AppUpdateCheckerTest.kt similarity index 100% rename from AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/AppUpdateCheckerTest.kt rename to library/src/test/java/com/sharkaboi/appupdatechecker/AppUpdateCheckerTest.kt diff --git a/AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/FdroidTest.kt b/library/src/test/java/com/sharkaboi/appupdatechecker/FdroidTest.kt similarity index 100% rename from AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/FdroidTest.kt rename to library/src/test/java/com/sharkaboi/appupdatechecker/FdroidTest.kt diff --git a/AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/GithubTest.kt b/library/src/test/java/com/sharkaboi/appupdatechecker/GithubTest.kt similarity index 100% rename from AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/GithubTest.kt rename to library/src/test/java/com/sharkaboi/appupdatechecker/GithubTest.kt diff --git a/AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/JsonTest.kt b/library/src/test/java/com/sharkaboi/appupdatechecker/JsonTest.kt similarity index 100% rename from AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/JsonTest.kt rename to library/src/test/java/com/sharkaboi/appupdatechecker/JsonTest.kt diff --git a/AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/XMLTest.kt b/library/src/test/java/com/sharkaboi/appupdatechecker/XMLTest.kt similarity index 100% rename from AppUpdateChecker/src/test/java/com/sharkaboi/appupdatechecker/XMLTest.kt rename to library/src/test/java/com/sharkaboi/appupdatechecker/XMLTest.kt diff --git a/settings.gradle b/settings.gradle index acd187e..d8f14a1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1 @@ -include ':AppUpdateChecker' -rootProject.name = "AppUpdateChecker" +include ':library'