Skip to content

Commit

Permalink
Migrate to maven publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Faierbel committed Sep 8, 2021
1 parent 0128926 commit e97bc50
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
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 :library:publishToMavenLocal
11 changes: 11 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'

android {
compileSdkVersion 30
Expand All @@ -23,6 +24,16 @@ android {
}
}

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

dependencies {
implementation "androidx.appcompat:appcompat:1.3.1"
implementation "androidx.core:core-ktx:1.6.0"
Expand Down

0 comments on commit e97bc50

Please sign in to comment.