We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 480341f commit 978ac03Copy full SHA for 978ac03
1 file changed
gradle/common-android-library.gradle
@@ -14,6 +14,10 @@ tasks.withType(JavaCompile).configureEach {
14
options.compilerArgs.add('-parameters')
15
}
16
17
+tasks.withType(Test).configureEach {
18
+ maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
19
+}
20
+
21
def kotlinCompileClass = null
22
try {
23
kotlinCompileClass = Class.forName('org.jetbrains.kotlin.gradle.tasks.KotlinCompile')
0 commit comments