diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..88cfba7 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1 @@ +jdk: openjdk11 diff --git a/library/build.gradle b/library/build.gradle index 0bd4a14..d9cdf94 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -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 { @@ -30,7 +31,6 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } - } dependencies { @@ -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' + } + } + } +} diff --git a/sample/src/main/res/values/keys.xml b/sample/src/main/res/values/keys.xml index c7c09c4..198cefe 100644 --- a/sample/src/main/res/values/keys.xml +++ b/sample/src/main/res/values/keys.xml @@ -2,7 +2,7 @@ - @string/key_android - @string/key_maps + "your_android_key" + "your_maps_key" \ No newline at end of file