From 946f064f8cfeacdd2f92b521881d55ff61020dfd Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Tue, 17 Dec 2024 13:20:25 +0100 Subject: [PATCH] Restore Gradle Configuration Cache --- gradle.properties | 10 +--------- processor/build.gradle.kts | 4 ---- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/gradle.properties b/gradle.properties index aa5d802..eff44e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,15 +6,7 @@ artifactId=sealed-object-instances kotlin.code.style=official org.gradle.caching=true - -#region Configuration cache -# Disabled because of: -# - Signing https://github.com/gradle/gradle/issues/13470 -# - MavenPlublish https://github.com/gradle/gradle/issues/22598 -org.gradle.configuration-cache=false -org.gradle.configuration-cache.problems=warn -org.gradle.kotlin.dsl.precompiled.accessors.strict=true -#endregion +org.gradle.configuration-cache=true # Forced increase of Metaspace # https://github.com/gradle/gradle/issues/23698 diff --git a/processor/build.gradle.kts b/processor/build.gradle.kts index d73c148..a1fa982 100644 --- a/processor/build.gradle.kts +++ b/processor/build.gradle.kts @@ -158,10 +158,6 @@ signing { isRequired = true } -tasks.withType().configureEach { - notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/13470") -} - dependencies { compileOnly(libs.kspApi) compileOnly(libs.kotlinReflect)