From 1bc74e1fdf7720dd79259888f733dee082c84ce8 Mon Sep 17 00:00:00 2001 From: ChenZhangg Date: Wed, 24 Nov 2021 16:14:21 +0800 Subject: [PATCH 1/2] modify build.gradle --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 57c36c18..07223500 100644 --- a/build.gradle +++ b/build.gradle @@ -31,7 +31,13 @@ if (JavaVersion.current().isJava8Compatible()) { } allprojects { - + tasks.withType(Test).configureEach { + maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1 + if (!project.hasProperty("createReports")) { + reports.html.required = false + reports.junitXml.required = false + } + } apply plugin: "jacoco" jacoco { From 3e7a24a0fdcf7c4bb73d23cc039604b1a028fb46 Mon Sep 17 00:00:00 2001 From: ChenZhangg <32891042+ChenZhangg@users.noreply.github.com> Date: Wed, 24 Nov 2021 16:16:21 +0800 Subject: [PATCH 2/2] Update build.gradle --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 07223500..22ecb8fa 100644 --- a/build.gradle +++ b/build.gradle @@ -37,6 +37,7 @@ allprojects { reports.html.required = false reports.junitXml.required = false } + forkEvery = 100 } apply plugin: "jacoco" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy