From 0c4598a00ef258f917c74b072cc55ef102738c7e Mon Sep 17 00:00:00 2001 From: Yahor Berdnikau Date: Wed, 13 Jul 2022 10:34:44 +0200 Subject: [PATCH] Enable caching for generated script accessors According to https://github.com/gradle/gradle/issues/20416 issue it is safe to do. --- gradle.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle.properties b/gradle.properties index cfeb6ecd8cf..5930e968a2d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,6 +10,8 @@ org.gradle.java.installations.fromEnv=JDK_16,JDK_17,JDK_18,JDK_9,JDK_10,JDK_11,J systemProp.org.gradle.internal.http.connectionTimeout=90000 systemProp.org.gradle.internal.http.socketTimeout=90000 +# Enable caching for precompiled script accessors: https://github.com/gradle/gradle/issues/20416 +systemProp.org.gradle.kotlin.dsl.precompiled.accessors.strict=true cacheRedirectorEnabled=true defaultSnapshotVersion=1.8.255-SNAPSHOT