Remove unneeded argument and add parallel forks for unit tests (#779)

This commit is contained in:
Sean Weiser 2024-01-25 10:54:56 -06:00 committed by Álison Fernandes
parent 41229d0324
commit 3e9852e9e7
2 changed files with 2 additions and 1 deletions

View file

@ -276,7 +276,7 @@ tasks {
withType<Test> { withType<Test> {
useJUnitPlatform() useJUnitPlatform()
maxHeapSize = "4g" maxHeapSize = "4g"
jvmArgs = listOf("-XX:MaxMetaspaceSize=512m") maxParallelForks = Runtime.getRuntime().availableProcessors()
} }
} }

View file

@ -6,3 +6,4 @@ android.useAndroidX=true
kotlin.code.style=official kotlin.code.style=official
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.parallel=true