Update build optimizations (#6433)

This commit is contained in:
David Perez
2026-02-04 14:08:15 -06:00
committed by GitHub
parent 29648e03c8
commit 47b9509062
11 changed files with 13 additions and 106 deletions

View File

@@ -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"
}