From 804821619431215ab3ecf59a22961e53e2990065 Mon Sep 17 00:00:00 2001 From: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com> Date: Thu, 13 Apr 2023 05:57:18 +1000 Subject: [PATCH] Enable Gradle Build Cache (#358) Enable Gradle Build Cache --------- Co-authored-by: KotlinIsland Co-authored-by: Jakub Chrzanowski --- .github/template-cleanup/gradle.properties | 3 +++ CHANGELOG.md | 1 + gradle.properties | 3 +++ 3 files changed, 7 insertions(+) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index 1abca01..f55be4c 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -27,6 +27,9 @@ kotlin.stdlib.default.dependency = false # Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html org.gradle.unsafe.configuration-cache = true +# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html +org.gradle.caching = true + # Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment systemProp.org.gradle.unsafe.kotlin.assignment = true diff --git a/CHANGELOG.md b/CHANGELOG.md index b382d3a..4035a09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Temporary workaround for Kotlin Compiler OutOfMemoryError -> https://jb.gg/intellij-platform-kotlin-oom - Gradle version catalog integration - Gradle Kotlin DSL Lazy Property Assignment +- Enable Gradle Build Cache ### Changed - Dependencies - upgrade `org.jetbrains.intellij` to `1.13.3` diff --git a/gradle.properties b/gradle.properties index d427255..408e413 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,6 +27,9 @@ kotlin.stdlib.default.dependency = false # Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html org.gradle.unsafe.configuration-cache = true +# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html +org.gradle.caching = true + # Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment systemProp.org.gradle.unsafe.kotlin.assignment = true