From 6dcf50edcd081d2f4da2b7f0fd3d1b6d6191b6aa Mon Sep 17 00:00:00 2001 From: Alex Vanyo Date: Wed, 6 Apr 2022 11:07:42 -0700 Subject: [PATCH] Update protobuf to latest The latest version of protobuf fixes the kotlin-test issue, so we can remove that TODO Change-Id: Ie51f0721983b288517f54ea22007da4505c54f5b --- core-datastore/build.gradle | 5 +---- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core-datastore/build.gradle b/core-datastore/build.gradle index 4547ea557..32e172326 100644 --- a/core-datastore/build.gradle +++ b/core-datastore/build.gradle @@ -64,10 +64,7 @@ dependencies { implementation libs.kotlinx.coroutines.android implementation libs.androidx.dataStore.core - implementation(libs.protobuf.kotlin.lite) { - // TODO: https://github.com/protocolbuffers/protobuf/issues/9517 - exclude group: "org.jetbrains.kotlin", module: "kotlin-test" - } + implementation(libs.protobuf.kotlin.lite) implementation libs.hilt.android kapt libs.hilt.compiler diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0527d9257..1d598cbfd 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -36,7 +36,7 @@ ktlint = "0.43.0" material3 = "1.5.0-alpha05" mockk = "1.12.1" okhttp = "4.9.3" -protobuf = "3.19.1" +protobuf = "3.20.0" protobufPlugin = "0.8.18" retrofit = "2.9.0" retrofitKotlinxSerializationJson = "0.8.0"