From d4aefc4e64e2fdcbf9bbd509760515adf95ce2db Mon Sep 17 00:00:00 2001 From: IndusAryan <125901294+IndusAryan@users.noreply.github.com> Date: Fri, 8 Dec 2023 02:12:32 +0530 Subject: [PATCH] bump guava, json(tests), kgp, desugaring (#781) * bump guava(for ksp) * Update build.gradle.kts * . * Update kotlin gradle plugin --- app/build.gradle.kts | 14 +++++++------- build.gradle.kts | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8e1798d8..aa091f07 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -150,7 +150,7 @@ repositories { dependencies { // Testing testImplementation("junit:junit:4.13.2") - testImplementation("org.json:json:20230618") + testImplementation("org.json:json:20231013") androidTestImplementation("androidx.test:core") implementation("androidx.test.ext:junit-ktx:1.1.5") androidTestImplementation("androidx.test.ext:junit:1.1.5") @@ -178,7 +178,7 @@ dependencies { // For KSP -> Official Annotation Processors are Not Yet Supported for KSP ksp("dev.zacsweers.autoservice:auto-service-ksp:1.1.0") - implementation("com.google.guava:guava:32.1.2-android") + implementation("com.google.guava:guava:32.1.3-android") implementation("dev.zacsweers.autoservice:auto-service-ksp:1.1.0") // Media 3 (ExoPlayer) @@ -210,15 +210,15 @@ dependencies { implementation("com.github.discord:OverlappingPanels:0.1.5") // Gestures implementation("com.github.rubensousa:previewseekbar-media3:1.1.1.0") // SeekBar Preview - // Extensionns & Other Libs - implementation("org.mozilla:rhino:1.7.13") /* run JS - ^ Don't Bump RhinoJS to 1.7.14, since in 1.7.14 Rhino Uses the `SourceVersion` Class, Which is NOT - Available on Android (even with Desugaring) & `NoClassDefFoundError` Occurs. */ + // Extensions & Other Libs + implementation("org.mozilla:rhino:1.7.13") /* run JavaScript + ^ Don't Bump RhinoJS to 1.7.14,`NoClassDefFoundError` Occurs and Trailers won't play (even with Desugaring) + NewPipeExtractor Issue */ implementation("me.xdrop:fuzzywuzzy:1.4.0") // Library/Ext Searching with Levenshtein Distance implementation("com.github.LagradOst:SafeFile:0.0.5") // To Prevent the URI File Fu*kery implementation("org.conscrypt:conscrypt-android:2.5.2") // To Fix SSL Fu*kery on Android 9 implementation("com.uwetrottmann.tmdb2:tmdb-java:2.10.0") // TMDB API v3 Wrapper Made with RetroFit - coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.6") + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4") implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1") /* JSON Parser ^ Don't Bump Jackson above 2.13.1 , Crashes on Android TV's and FireSticks that have Min API Level 25 or Less. */ diff --git a/build.gradle.kts b/build.gradle.kts index c12c9ab3..9b12621a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ buildscript { } dependencies { classpath("com.android.tools.build:gradle:8.1.4") - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21") classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.9.10") // NOTE: Do not place your application dependencies here; they belong @@ -27,4 +27,4 @@ plugins { tasks.register("clean") { delete(rootProject.layout.buildDirectory) -} \ No newline at end of file +}