aboutsummaryrefslogtreecommitdiff
path: root/sample/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-06-21 22:13:56 -0700
committerAllan Wang <me@allanwang.ca>2020-06-21 22:13:56 -0700
commitcd24bc8175938ff289c48a6ec3bb956cc22fb79e (patch)
tree742e4385983c02dcca48534c665fd73738dbd277 /sample/build.gradle
parent69b2d504934eab4e69b7ef9a574c6c7560cee54b (diff)
downloadkau-cd24bc8175938ff289c48a6ec3bb956cc22fb79e.tar.gz
kau-cd24bc8175938ff289c48a6ec3bb956cc22fb79e.tar.bz2
kau-cd24bc8175938ff289c48a6ec3bb956cc22fb79e.zip
Update deps and add base test class
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'
+ }
}
}
}