1
0
mirror of https://github.com/accelforce/Yuito synced 2024-12-22 21:28:08 +01:00

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

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 org.gradle.jvmargs=-XX:+UseParallelGC -Xmx4g -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Xms256m
# use parallel execution # use parallel execution
org.gradle.parallel=true org.gradle.parallel=true
# https://docs.gradle.org/7.6/userguide/configuration_cache.html org.gradle.configuration-cache=true
org.gradle.unsafe.configuration-cache=true
# https://blog.jetbrains.com/kotlin/2022/07/a-new-approach-to-incremental-compilation-in-kotlin/ # https://blog.jetbrains.com/kotlin/2022/07/a-new-approach-to-incremental-compilation-in-kotlin/
kotlin.incremental.useClasspathSnapshot=true kotlin.incremental.useClasspathSnapshot=true