How do I set ```android { testOptions { ...
# android
r
How do I set
Copy code
android {
    testOptions {
        unitTests {
            includeAndroidResources = true
        }
    }
}
Using kotlin gradle DSL? I could only get it to run using the groovy one
f
you can do either of these
Copy code
android {                            
    testOptions.unitTests.isReturnDefaultValues = true

    testOptions {
        unitTests.isReturnDefaultValues = true
    }
}
r
Ah, the
isReturnDefaultValues
, gotcha
f
actually, bad copy/paste on my part,
Copy code
testOptions.unitTests.isIncludeAndroidResources = true
        testOptions {
            unitTests.isIncludeAndroidResources = true
        }