From 124702f0a280938a9e796fe28bb0cbf8a1b49280 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 21 Dec 2024 11:48:48 +0800 Subject: [PATCH] Fix libs --- V2rayNG/app/build.gradle.kts | 1 + V2rayNG/gradle/libs.versions.toml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/V2rayNG/app/build.gradle.kts b/V2rayNG/app/build.gradle.kts index fa2ba4423..abe716ab1 100644 --- a/V2rayNG/app/build.gradle.kts +++ b/V2rayNG/app/build.gradle.kts @@ -187,4 +187,5 @@ dependencies { androidTestImplementation(libs.androidx.espresso.core) testImplementation(libs.org.mockito.mockito.inline) testImplementation(libs.mockito.kotlin) + coreLibraryDesugaring(libs.desugar.jdk.libs) } diff --git a/V2rayNG/gradle/libs.versions.toml b/V2rayNG/gradle/libs.versions.toml index 7cde3867a..9b26cf04c 100644 --- a/V2rayNG/gradle/libs.versions.toml +++ b/V2rayNG/gradle/libs.versions.toml @@ -1,5 +1,6 @@ [versions] agp = "8.7.2" +desugar_jdk_libs = "2.1.4" gradleLicensePlugin = "0.9.8" kotlin = "2.1.0" coreKtx = "1.15.0" @@ -12,6 +13,7 @@ activity = "1.9.3" constraintlayout = "2.2.0" mmkvStatic = "1.3.11" gson = "2.11.0" +quickieFoss = "1.13.1" rxjava = "3.1.9" rxandroid = "3.0.2" rxpermissions = "0.12" @@ -27,6 +29,7 @@ preferenceKtx = "1.2.1" recyclerview = "1.3.2" [libraries] androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } +desugar_jdk_libs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugar_jdk_libs" } gradle-license-plugin = { module = "com.jaredsburrows:gradle-license-plugin", version.ref = "gradleLicensePlugin" } junit = { group = "junit", name = "junit", version.ref = "junit" } androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } @@ -37,6 +40,7 @@ androidx-activity = { group = "androidx.activity", name = "activity", version.re androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" } mmkv-static = { module = "com.tencent:mmkv-static", version.ref = "mmkvStatic" } gson = { module = "com.google.code.gson:gson", version.ref = "gson" } +quickie-foss = { module = "com.github.T8RIN.QuickieExtended:quickie-foss", version.ref = "quickieFoss" } rxjava = { module = "io.reactivex.rxjava3:rxjava", version.ref = "rxjava" } rxandroid = { module = "io.reactivex.rxjava3:rxandroid", version.ref = "rxandroid" } rxpermissions = { module = "com.github.tbruyelle:rxpermissions", version.ref = "rxpermissions" }