Skip to content

Commit

Permalink
Fix jitpack config;
Browse files Browse the repository at this point in the history
  • Loading branch information
zeropercenthappy committed Sep 16, 2021
1 parent 78c4c0a commit b2e4988
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 3 additions & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
jdk:
- openjdk11
- openjdk11
install:
- ./gradlew build :retrofitLib:publishToMavenLocal
15 changes: 13 additions & 2 deletions retrofitLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'maven-publish'
group = 'com.github.zeropercenthappy'

android {
Expand All @@ -9,8 +10,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 30
versionCode 131
versionName "1.3.1"
versionCode 132
versionName "1.3.2"

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

Expand All @@ -32,6 +33,16 @@ android {

}

project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

Expand Down

0 comments on commit b2e4988

Please sign in to comment.