diff --git a/build.gradle b/build.gradle index c06df431..0350d6f7 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,13 @@ buildscript { } allprojects { + tasks.withType(Test).configureEach { + maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1 + if (!project.hasProperty("createReports")) { + reports.html.required = false + reports.junitXml.required = false + } + } repositories { jcenter() google()