aboutsummaryrefslogtreecommitdiff
path: root/sample/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'sample/build.gradle')
-rw-r--r--sample/build.gradle18
1 files changed, 10 insertions, 8 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index b36e3f5..2414487 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -101,14 +101,16 @@ android {
main.res.srcDirs += 'src/main/res-public'
}
- testOptions.unitTests {
- // Don't throw runtime exceptions for android calls that are not mocked
- returnDefaultValues = true
-
- // Always show the result of every unit test, even if it passes.
- all {
- testLogging {
- events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
+ testOptions {
+ unitTests {
+ // Don't throw runtime exceptions for android calls that are not mocked
+ returnDefaultValues = true
+
+ // Always show the result of every unit test, even if it passes.
+ all {
+ testLogging {
+ events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
+ }
}
}
}