Skip to content

Commit e72a2cf

Browse files
Implement 'testOptions' to address unit test failures
1 parent 21b3ac4 commit e72a2cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ android {
4040
sourceCompatibility 1.8
4141
targetCompatibility 1.8
4242
}
43+
testOptions {
44+
unitTests.all {
45+
jvmArgs += ['--add-opens', 'java.base/java.lang=ALL-UNNAMED']
46+
}
47+
}
4348
}
4449

4550
repositories {

0 commit comments

Comments
 (0)