From 3f79290c90928f0cfd50afba0896d608189c2bf9 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Fri, 8 Jul 2022 11:33:01 +1000 Subject: [PATCH] Enable strict Kotlin DSL precompiled script plugins accessors generation This opts-in to a stricter mode of operation that fails the build when a plugin application fails, and enables the build cache for the :generatePrecompiledScriptPluginAccessors task. This will be the default in Gradle 8.0, but there's no reason not to enable this in advance of that release given our build is stable with it enabled. --- gradle.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle.properties b/gradle.properties index 7ca0715b49e..1b69faa5a08 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,3 +4,4 @@ org.gradle.parallel=true org.gradle.caching=true org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 org.gradle.unsafe.configuration-cache=false +systemProp.org.gradle.kotlin.dsl.precompiled.accessors.strict=true