Fix issue with Jitpack build

This commit is contained in:
Benoit Marty 2021-05-28 18:12:50 +02:00
parent d856c441b6
commit 995def932e
2 changed files with 14 additions and 0 deletions

3
android/jitpack.yml Normal file
View file

@ -0,0 +1,3 @@
install:
- ./gradlew :olm-sdk:build :olm-sdk:publishToMavenLocal -x :olm-sdk:test
- find . -name "*.aar"

View file

@ -1,6 +1,7 @@
import org.apache.tools.ant.taskdefs.condition.Os
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
android {
compileSdkVersion 30
@ -128,3 +129,13 @@ dependencies {
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
}
project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}