From 3b332169612a359ca4b10417eb7675045476c88a Mon Sep 17 00:00:00 2001 From: Kr328 Date: Fri, 15 Oct 2021 11:07:00 +0800 Subject: [PATCH] Chore: update dependencies --- .../java/com/github/kr328/clash/core/util/Parcelizer.kt | 6 ++---- settings.gradle.kts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/com/github/kr328/clash/core/util/Parcelizer.kt b/core/src/main/java/com/github/kr328/clash/core/util/Parcelizer.kt index f2dae23c..e4163fc4 100644 --- a/core/src/main/java/com/github/kr328/clash/core/util/Parcelizer.kt +++ b/core/src/main/java/com/github/kr328/clash/core/util/Parcelizer.kt @@ -14,8 +14,7 @@ import kotlinx.serialization.modules.SerializersModule object Parcelizer { private class ParcelDecoder(private val parcel: Parcel) : Decoder, CompositeDecoder { - @ExperimentalSerializationApi - override val serializersModule: SerializersModule = EmptySerializersModule + override val serializersModule: SerializersModule = SerializersModule {} @ExperimentalSerializationApi override fun decodeSequentially(): Boolean = true @@ -122,8 +121,7 @@ object Parcelizer { } private class ParcelEncoder(private val parcel: Parcel) : Encoder, CompositeEncoder { - @ExperimentalSerializationApi - override val serializersModule: SerializersModule = EmptySerializersModule + override val serializersModule: SerializersModule = SerializersModule {} override fun encodeBooleanElement( descriptor: SerialDescriptor, diff --git a/settings.gradle.kts b/settings.gradle.kts index 4c87452b..0be20369 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -14,7 +14,7 @@ include(":hideapi") dependencyResolutionManagement { versionCatalogs { create("deps") { - val agp = "7.0.2" + val agp = "7.0.3" val ksp = "1.5.31-1.0.0" val kotlin = "1.5.31" val golang = "1.0.4" @@ -28,7 +28,7 @@ dependencyResolutionManagement { val viewpager = "1.0.0" val material = "1.4.0" val appcenter = "4.3.1" - val serialization = "1.2.2" + val serialization = "1.3.0" val kaidl = "1.15" val room = "2.3.0" val multiprocess = "1.0.0"