diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 694546564..bd22a2bf0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -276,7 +276,7 @@ tasks { withType { useJUnitPlatform() maxHeapSize = "4g" - jvmArgs = listOf("-XX:MaxMetaspaceSize=512m") + maxParallelForks = Runtime.getRuntime().availableProcessors() } } diff --git a/gradle.properties b/gradle.properties index d8d780060..aa85f46f0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,3 +6,4 @@ android.useAndroidX=true kotlin.code.style=official org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +org.gradle.parallel=true