From fd545f7fada3ee8bb89373313bb757720a6171a6 Mon Sep 17 00:00:00 2001 From: Alex Vanyo Date: Thu, 17 Feb 2022 12:47:45 -0800 Subject: [PATCH] Fix test dependencies https://twitter.com/alex_vanyo/status/1494409399216992268 Change-Id: If8325a16c6ccd8e42af1e35abad8eebfc8371afe --- app/build.gradle | 2 +- core-datastore/build.gradle | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bf4ce0a20..9b2d7bfea 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -116,7 +116,7 @@ dependencies { implementation project(':core-ui') androidTestImplementation project(':core-testing') - implementation project(':core-datastore-test') + androidTestImplementation project(':core-datastore-test') coreLibraryDesugaring libs.android.desugarJdkLibs diff --git a/core-datastore/build.gradle b/core-datastore/build.gradle index c83db8768..1024cedba 100644 --- a/core-datastore/build.gradle +++ b/core-datastore/build.gradle @@ -62,7 +62,10 @@ dependencies { implementation libs.kotlinx.coroutines.android implementation libs.androidx.dataStore - implementation libs.protobuf.kotlin.lite + implementation(libs.protobuf.kotlin.lite) { + // TODO: https://github.com/protocolbuffers/protobuf/issues/9517 + exclude group: "org.jetbrains.kotlin", module: "kotlin-test" + } implementation libs.hilt.android kapt libs.hilt.compiler