-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81414cb
commit 3f0141a
Showing
9 changed files
with
72 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,43 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven' | ||
apply plugin: 'maven-publish' | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
namespace 'pl.charmas.android.reactivelocation2' | ||
compileSdk rootProject.ext.compileSdkVersion | ||
|
||
defaultConfig { | ||
minSdkVersion 14 | ||
minSdkVersion 21 | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
sourceCompatibility JavaVersion.VERSION_17 | ||
targetCompatibility JavaVersion.VERSION_17 | ||
} | ||
} | ||
|
||
//TODO: local maven deployment | ||
publishing { | ||
singleVariant("release") { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
api 'com.google.android.gms:play-services-location:21.0.1' | ||
api 'com.google.android.gms:play-services-places:17.0.0' | ||
api 'io.reactivex.rxjava2:rxjava:2.2.0' | ||
api 'com.google.android.gms:play-services-location:21.3.0' | ||
api 'com.google.android.gms:play-services-places:17.1.0' | ||
api 'io.reactivex.rxjava2:rxjava:2.2.21' | ||
} | ||
|
||
// Comment this to deploy to local maven repository | ||
apply from: '../maven_push.gradle' | ||
|
||
|
||
//TODO: clean up | ||
//This is for local maven deployment | ||
|
||
//apply plugin: 'maven' | ||
//uploadArchives { | ||
// repositories { | ||
// mavenDeployer { | ||
// repository url: 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath | ||
// } | ||
// } | ||
//} | ||
//task install(dependsOn: uploadArchives) | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
register("gpr", MavenPublication) { | ||
from(components["release"]) | ||
groupId = GROUP | ||
artifactId = 'android-reactive-location2' | ||
version = VERSION_NAME | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest package="pl.charmas.android.reactivelocation2"> | ||
<manifest> | ||
|
||
<application></application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
VERSION_NAME=2.1 | ||
VERSION_CODE=102 | ||
VERSION_NAME=3.0 | ||
VERSION_CODE=103 | ||
GROUP=pl.charmas.android | ||
|
||
|
||
POM_DESCRIPTION=Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum. | ||
POM_URL=https://github.com/mcharmas/Android-ReactiveLocation | ||
POM_SCM_URL=https://github.com/mcharmas/Android-ReactiveLocation | ||
POM_SCM_CONNECTION=scm:[email protected]:mcharmas/Android-ReactiveLocation.git | ||
POM_SCM_DEV_CONNECTION=scm:[email protected]:mcharmas/Android-ReactiveLocation.git | ||
POM_LICENCE_NAME=The Apache Software License, Version 2.0 | ||
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt | ||
POM_LICENCE_DIST=repo | ||
POM_DEVELOPER_ID=mcharmas | ||
POM_DEVELOPER_NAME=Michal Charmas | ||
|
||
REACTIVE_LOCATION_GMS_API_KEY= | ||
|
||
android.useAndroidX=true | ||
android.enableJetifier=true | ||
android.nonTransitiveRClass=false | ||
android.nonFinalResIds=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Thu Oct 25 12:29:40 EEST 2018 | ||
#Thu Jul 18 16:33:36 EEST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters