From f1501fd93715926204520e5e47d8da2b4a976f0c Mon Sep 17 00:00:00 2001 From: shisheng-1 <240274530@qq.com> Date: Fri, 12 Nov 2021 13:33:07 +0800 Subject: [PATCH] Improve GRADLE build Performance --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b683771bd4..8aee7b932e 100644 --- a/build.gradle +++ b/build.gradle @@ -28,6 +28,10 @@ buildscript { } allprojects { + tasks.withType(JavaCompile).configureEach { + options.fork = true + } + repositories { mavenCentral() jcenter() @@ -194,4 +198,4 @@ task deployToGithub(type: Exec, dependsOn: 'release') { clean { delete releaseDir -} +} \ No newline at end of file