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
This commit is contained in:
Goooler 2023-07-27 06:06:26 +08:00 committed by GitHub
parent e852aa64a5
commit 1bdf19407c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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