Skip to content

Commit ed38814

Browse files
Renju MenonRenju Menon
authored andcommitted
fix jitpack.yml
1 parent a7e446d commit ed38814

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

android-pdf-viewer/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ android {
1010
minSdkVersion 21
1111
targetSdkVersion 35
1212
versionCode 1
13-
versionName "4.0.12"
13+
versionName "4.0.13"
1414
}
1515

1616
compileOptions {
@@ -49,7 +49,7 @@ afterEvaluate {
4949
aar(MavenPublication) {
5050
groupId = 'com.github.T-Pro'
5151
artifactId = 'AndroidPdfViewer'
52-
version = '4.0.12'
52+
version = '4.0.13'
5353

5454
// Use the lazy artifact
5555
artifact aarArtifact

jitpack.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
# jitpack.yml (place at repo root)
21
jdk:
32
- openjdk17
43

5-
install:
4+
before_install:
65
- chmod +x ./gradlew
7-
- ./gradlew --no-daemon -v
86

9-
script:
10-
# 1) assemble release artifacts (creates AARs)
7+
install:
118
- ./gradlew :pdfium:assembleRelease :android-pdf-viewer:assembleRelease -x lint -x test --no-daemon --stacktrace
12-
13-
# 2) publish assembled artifacts to the container's mavenLocal
14-
- ./gradlew :pdfium:publishReleasePublicationToMavenLocal :android-pdf-viewer:publishAarPublicationToMavenLocal --no-daemon --stacktrace
15-
16-
after_success:
17-
- echo "---- build outputs for android-pdf-viewer ----"
18-
- ls -la android-pdf-viewer/build/outputs/aar || true
19-
- echo "---- mavenLocal path: AndroidPdfViewer (T-Pro) ----"
20-
- ls -la ~/.m2/repository/com/github/T-Pro/AndroidPdfViewer || true
21-
- echo "---- mavenLocal path: PdfiumAndroid (marain87) ----"
22-
- ls -la ~/.m2/repository/com/github/marain87/PdfiumAndroid || true
9+
- ./gradlew :pdfium:publishReleasePublicationToMavenLocal :android-pdf-viewer:publishAarPublicationToMavenLocal --no-daemon --stacktrace

0 commit comments

Comments
 (0)