Skip to content

Commit

Permalink
Fix jitpack publish
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Aug 13, 2024
1 parent 1acdb88 commit 5bc71ac
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk17
install:
- ./gradlew :openpgp-api:build :openpgp-api:publishToMavenLocal -x :openpgp-api:test
- find . -name "*.aar"
18 changes: 17 additions & 1 deletion openpgp-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ android {
lint {
abortOnError false
}
buildTypes {
release {
minifyEnabled false
consumerProguardFile('proguard-sdk.pro')
}
}
buildFeatures {
aidl true
}
Expand Down Expand Up @@ -53,4 +59,14 @@ afterEvaluate {
}
}
}
*/
*/

publishing {
publications {
release(MavenPublication) {
afterEvaluate {
from components.findByName('release')
}
}
}
}
Empty file added openpgp-api/proguard-sdk.pro
Empty file.

0 comments on commit 5bc71ac

Please sign in to comment.