Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion FlowCrypt/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ android {
}

unitTests.all {
//Robolectric keeps a sandbox per SDK in one test JVM, and tests with
//@Config(minSdk = ...) run on every SDK from minSdk up. The Gradle default (512m)
//is not enough since Robolectric 4.18.
it.maxHeapSize = "2g"
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
Expand Down Expand Up @@ -507,7 +511,7 @@ dependencies {
testImplementation("com.squareup.okhttp3:mockwebserver:5.5.1")
testImplementation("com.flextrade.jfixture:jfixture:2.7.2")
testImplementation("com.shazam:shazamcrest:0.11")
testImplementation("org.robolectric:robolectric:4.17")
testImplementation("org.robolectric:robolectric:4.18.1")
//we need it to test Parcelable implementation
testImplementation("org.jetbrains.kotlin:kotlin-reflect:2.4.21")
testImplementation("junit:junit:4.13.2")
Expand Down
Loading