Skip to content

Commit 23bbea1

Browse files
committed
Fix pdf lib 16kb paging
1 parent 7589c2a commit 23bbea1

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

gradle/libs.versions.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
androidGifDrawableVersion="1.2.29"
33
appcompatVersion="1.7.1"
44
bcprovJdk15onVersion="1.70"
5-
coil="3.2.0"
5+
coil="3.3.0"
66
coreKtxVersion="1.16.0"
7-
firebaseCrashlyticsGradleVersion="3.0.4"
7+
firebaseCrashlyticsGradleVersion="3.0.6"
88
glideVersion="4.16.0"
99
googleServicesVersion="4.4.3"
1010
gradle= "8.11.1"
@@ -17,7 +17,7 @@ coreSplashscreenVersion = "1.0.1"
1717
coreVersion = "3.5.3"
1818
datastorePreferencesVersion = "1.1.7"
1919
firebaseCrashlyticsKtxVersion = "19.4.4"
20-
firebaseBomVersion = "33.16.0"
20+
firebaseBomVersion = "34.1.0"
2121
gsonVersion="2.13.1"
2222
jsoupVersion="1.15.3"
2323
kgraphql = "0.19.0"
@@ -28,16 +28,15 @@ kotlinxCoroutinesVersion ="1.10.2"
2828
ktor = "3.1.3"
2929
leakcanaryAndroidVersion = "2.14"
3030
lifecycleExtensionsVersion="2.2.0"
31-
lifecycleViewmodelKtxVersion="2.9.1"
31+
lifecycleViewmodelKtxVersion="2.9.2"
3232
markwon="4.6.2"
33-
media3 = "1.7.1"
34-
navigationComposeVersion = "2.9.1"
33+
media3 = "1.8.0"
34+
navigationComposeVersion = "2.9.3"
3535
material3Version = "1.3.2"
3636
okhttpVersion="5.1.0"
37-
pdfiumAndroidVersion="1.9.0"
3837
room = "2.7.2"
3938
transitionVersion="1.6.0"
40-
workRuntimeKtxVersion = "2.10.2"
39+
workRuntimeKtxVersion = "2.10.3"
4140
ztZipVersion = "1.17"
4241
devtoolsKspVersion = "2.2.0-2.0.2"
4342
tinkAndroidVersion = "1.18.0"
@@ -159,12 +158,15 @@ room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
159158

160159
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttpVersion" }
161160
leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanaryAndroidVersion" }
162-
pdfium-android = { module = "com.github.barteksc:pdfium-android", version.ref = "pdfiumAndroidVersion" }
163161

164162
zt-zip = { module = "org.zeroturnaround:zt-zip", version.ref = "ztZipVersion" }
165163
tink-android = { module = "com.google.crypto.tink:tink-android", version.ref = "tinkAndroidVersion" }
166164
jmdns = { module = "org.jmdns:jmdns", version.ref = "jmdnsVersion" }
167165

168166
[plugins]
169167
devtools-ksp = { id = "com.google.devtools.ksp", version.ref = "devtoolsKspVersion" }
170-
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
168+
compose-compiler
169+
170+
171+
172+
= { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

lib/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ dependencies {
4444
implementation(libs.androidx.core.ktx)
4545
api(libs.androidx.appcompat)
4646

47+
4748
implementation(libs.androidx.lifecycle.viewmodel.ktx)
4849

4950
// api(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
5051

51-
implementation(libs.pdfium.android)
52+
implementation(files("libs/PdfiumAndroid-2.0.0-release.aar"))
5253

5354
api(libs.gson)
5455

0 commit comments

Comments
 (0)