From 1bdf19407ce58b667f07f04122fe4cdd26afe68b Mon Sep 17 00:00:00 2001 From: Goooler Date: Thu, 27 Jul 2023 06:06:26 +0800 Subject: [PATCH] Use org.gradle.configuration-cache flag (#3792) Follow up #3528. https://docs.gradle.org/8.1/userguide/upgrading_version_8.html#configuration_caching_options_renamed --- gradle.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index f7cd3016d..45c7b7e09 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,8 +3,7 @@ org.gradle.caching=true org.gradle.jvmargs=-XX:+UseParallelGC -Xmx4g -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Xms256m # use parallel execution org.gradle.parallel=true -# https://docs.gradle.org/7.6/userguide/configuration_cache.html -org.gradle.unsafe.configuration-cache=true +org.gradle.configuration-cache=true # https://blog.jetbrains.com/kotlin/2022/07/a-new-approach-to-incremental-compilation-in-kotlin/ kotlin.incremental.useClasspathSnapshot=true