Fix issue with Jitpack build
This commit is contained in:
parent
d856c441b6
commit
995def932e
2 changed files with 14 additions and 0 deletions
3
android/jitpack.yml
Normal file
3
android/jitpack.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
install:
|
||||
- ./gradlew :olm-sdk:build :olm-sdk:publishToMavenLocal -x :olm-sdk:test
|
||||
- find . -name "*.aar"
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue