mirror of
https://github.com/bitwarden/android.git
synced 2026-03-11 12:44:17 -05:00
Update build optimizations (#6433)
This commit is contained in:
@@ -78,15 +78,3 @@ dependencies {
|
||||
testFixturesImplementation(libs.square.retrofit.kotlinx.serialization)
|
||||
testFixturesImplementation(libs.square.okhttp.mockwebserver)
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
useJUnitPlatform()
|
||||
@Suppress("MagicNumber")
|
||||
forkEvery = 100
|
||||
maxHeapSize = "2g"
|
||||
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
|
||||
jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC" +
|
||||
// Explicitly setting the user Country and Language because tests assume en-US
|
||||
"-Duser.country=US" +
|
||||
"-Duser.language=en"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user