From 943365806f87877a94223d4406c45815bae5d024 Mon Sep 17 00:00:00 2001 From: Chen Zhang <340355960@qq.com> Date: Mon, 18 Oct 2021 16:37:02 +0800 Subject: [PATCH] Improve GRADLE build Performance --- build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.gradle b/build.gradle index 01f073c95..9d43232fd 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,19 @@ googleJavaFormat { ext.githubProjectName = 'Priam' allprojects { + tasks.withType(Test).configureEach { + maxParallelForks = 4 + } + + tasks.withType(Test).configureEach { + forkEvery = 100 + } + + tasks.withType(Test).configureEach { + reports.html.required = false + reports.junitXml.required = false + } + apply plugin: 'jacoco' apply plugin: 'java'