Skip to content

Commit 452ab50

Browse files
authored
Merge pull request #449 from SimonMarquis/patch-2
Configure `isReturnDefaultValues` to fix #448
2 parents 08a165c + 0b0fdbf commit 452ab50

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

core/data/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ android {
2525
testOptions {
2626
unitTests {
2727
isIncludeAndroidResources = true
28+
isReturnDefaultValues = true
2829
}
2930
}
3031
}
@@ -44,4 +45,4 @@ dependencies {
4445

4546
testImplementation(project(":core:datastore-test"))
4647
testImplementation(project(":core:testing"))
47-
}
48+
}

core/datastore/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ android {
3333
consumerProguardFiles("consumer-proguard-rules.pro")
3434
}
3535
namespace = "com.google.samples.apps.nowinandroid.core.datastore"
36+
testOptions {
37+
unitTests {
38+
isReturnDefaultValues = true
39+
}
40+
}
3641
}
3742

3843
// Setup protobuf configuration, generating lite Java and Kotlin classes

0 commit comments

Comments
 (0)