Skip to content

Commit

Permalink
Fixed JitPack build error
Browse files Browse the repository at this point in the history
  • Loading branch information
moisoni97 committed Sep 9, 2021
1 parent b6bf7eb commit d1f981a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk11
install:
- ./gradlew :zoomy:build :zoomy:publishToMavenLocal -x :zoomy:test
- find . -name "*.aar"
11 changes: 11 additions & 0 deletions zoomy/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

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

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

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down

0 comments on commit d1f981a

Please sign in to comment.