From 3961febc3389f7a9052a360c8466ae6686231948 Mon Sep 17 00:00:00 2001 From: shisheng-1 <240274530@qq.com> Date: Fri, 12 Nov 2021 08:14:41 +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 a5d889295..ccdc8f53f 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,10 @@ task genExtension() { } allprojects { + tasks.withType(JavaCompile).configureEach { + options.fork = true + } + apply plugin: 'idea' apply plugin: 'signing' apply plugin: 'java' @@ -182,4 +186,4 @@ configure(subprojects) { } } } -} +} \ No newline at end of file