refactor: remove local pdfiumandroid module and use published artifact (#10)

Key changes:
*   The `pdfiumandroid` directory, which contained the local library source, has been completely removed.
*   The `settings.gradle.kts` file is updated to remove the `:pdfiumandroid` and `:pdfiumandroid:arrow` includes.
*   The main `app/build.gradle.kts` is modified to depend on the published `io.legere:pdfiumandroid:1.0.35` artifact from a remote repository instead of the local project module.
*   Code in `PdfPageComposable.kt` that depended on `PdfPageObjectType` and logic for handling image objects in dark mode has been removed, simplifying the rendering process.
This commit is contained in:
Aryan 2026-02-27 13:44:52 +05:30 committed by GitHub
parent ea31765612
commit 5483b18549
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
101 changed files with 8 additions and 22346 deletions

View file

@ -70,7 +70,10 @@ android {
buildTypes {
release {
signingConfig = signingConfigs.getByName("release")
val storePath = localProperties.getProperty("MYAPP_RELEASE_STORE_FILE")
if (!storePath.isNullOrEmpty()) {
signingConfig = signingConfigs.getByName("release")
}
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
@ -168,8 +171,6 @@ dependencies {
implementation("io.coil-kt:coil-compose:2.7.0")
implementation("io.coil-kt:coil-svg:2.6.0")
implementation(project(":pdfiumandroid"))
implementation("androidx.media3:media3-exoplayer:1.8.0")
implementation("androidx.media3:media3-session:1.8.0")
implementation("androidx.media3:media3-ui:1.8.0")
@ -198,6 +199,8 @@ dependencies {
implementation("androidx.documentfile:documentfile:1.0.1")
implementation("androidx.browser:browser:1.8.0")
implementation("io.legere:pdfiumandroid:1.0.35")
}
spotless {