Add test options to build.gradle to unbreak unit tests.

This commit is contained in:
Johannes Mockenhaupt 2018-02-04 20:15:39 +01:00
parent 8c25bc4002
commit 4937018a9c
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -162,6 +162,10 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
testOptions {
unitTests.returnDefaultValues = true
}
} }
allprojects { allprojects {