Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Configure `isReturnDefaultValues` for `:core:datastore`

Simon Marquisa3c3b1af199f
diff --git a/core/datastore/build.gradle.kts b/core/datastore/build.gradle.kts
index 8f3d7ece6..23271a35a 100644
--- a/core/datastore/build.gradle.kts
+++ b/core/datastore/build.gradle.kts
@@ -33,6 +33,11 @@ android {
consumerProguardFiles("consumer-proguard-rules.pro")
}
namespace = "com.google.samples.apps.nowinandroid.core.datastore"
+ testOptions {
+ unitTests {
+ isReturnDefaultValues = true
+ }
+ }
}
// Setup protobuf configuration, generating lite Java and Kotlin classes