Releases: BlueCodeSystems/AndroidPdfViewer
Releases · BlueCodeSystems/AndroidPdfViewer
AndroidPdfViewer 2.0.0
AndroidPdfViewer 2.0.0
A major release modernizing the build, publishing pipeline, and dependency coordinates.
Breaking Changes
- Migrate from deprecated
maven/uploadArchivestomaven-publishwithsigningand Sonatype staging (nexus-staging). Publishing tasks and properties changed. - Raise
minSdkto 28 for both library and sample to align with modern Android dependencies/tooling.
Improvements
- Gradle 8.7 and Android Gradle Plugin 8.6.0.
- Target modern toolchain:
compileSdk35,targetSdk35, Build Tools35.0.0. - Central bundle support: local bundle repository, checksum generation (SHA-256/512), and zip task for manual Maven Central uploads.
- Composite build substitution to develop against a local Pdfium fork if present.
Fixes
- Remove deprecated
packageattribute from library and sample AndroidManifest files (AGP 8+ expectsnamespacein Gradle).
Dependency Updates
- Pdfium now resolves to
com.github.BlueCodeSystems:PdfiumAndroid:v2.0.0by default viagradle.properties(can be overridden per build).
CI/Build
- JitPack uses JDK 17, installs required Android SDK/NDK, publishes to local Maven during build, and standardizes JitPack group as
com.github.<owner>.
Installation
-
Maven Central (preferred):
implementation 'io.github.bluecodesystems:AndroidPdfViewer:2.0.0' -
JitPack (alternative):
repositories { maven { url 'https://jitpack.io' } } implementation 'com.github.BlueCodeSystems:AndroidPdfViewer:2.0.0'
Publishing (for maintainers)
-
Local Central bundle zip (manual portal upload):
./gradlew -PcentralBundle=true -PuseGpgCmd=true \ :android-pdf-viewer:publishMavenPublicationToCentralBundleRepository \ :android-pdf-viewer:generateCentralBundleChecksums \ :android-pdf-viewer:zipCentralBundle
-
Sonatype (staging → release):
export ORG_GRADLE_PROJECT_sonatypeUsername='TOKEN_USER' export ORG_GRADLE_PROJECT_sonatypePassword='TOKEN_PASS' ./gradlew :android-pdf-viewer:publish -PuseGpgCmd=true -PcentralRelease=true ./gradlew closeAndReleaseRepository