Skip to content

Commit

Permalink
Use JDK 11 for Jitpack builds
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Chagas <[email protected]>
  • Loading branch information
rtchagas committed Aug 14, 2021
1 parent 598bcd0 commit 091006f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jdk: openjdk11
14 changes: 13 additions & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'maven-publish'

android {

Expand Down Expand Up @@ -30,7 +31,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
Expand Down Expand Up @@ -91,3 +91,15 @@ dependencies {
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.github.rtchagas'
artifactId = 'pingplacepicker'
}
}
}
}
4 changes: 2 additions & 2 deletions sample/src/main/res/values/keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>

<!-- TODO: Move to Firebase remote configs -->
<string name="key_google_apis_android" translatable="false">@string/key_android</string>
<string name="key_google_apis_maps" translatable="false">@string/key_maps</string>
<string name="key_google_apis_android" translatable="false">"your_android_key"</string>
<string name="key_google_apis_maps" translatable="false">"your_maps_key"</string>

</resources>

0 comments on commit 091006f

Please sign in to comment.