Enable configuration-cache

Fixes KTI-1553
This commit is contained in:
cristiangarcia
2024-03-05 21:16:47 +01:00
committed by Space Team
parent 786c37286c
commit 09dc9c6743
2 changed files with 1 additions and 7 deletions
+1
View File
@@ -8,6 +8,7 @@ kotlin.incremental.useClasspathSnapshot=true
org.gradle.parallel=true org.gradle.parallel=true
org.gradle.caching=true org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.kotlin.dsl.allWarningsAsErrors=true org.gradle.kotlin.dsl.allWarningsAsErrors=true
# Please keep it in sync with buildSrc gradle.properties. # Please keep it in sync with buildSrc gradle.properties.
-7
View File
@@ -26,13 +26,6 @@ plugins {
} }
def buildProperties = BuildPropertiesKt.getKotlinBuildPropertiesForSettings(settings) def buildProperties = BuildPropertiesKt.getKotlinBuildPropertiesForSettings(settings)
if (buildProperties.isKotlinNativeEnabled && startParameter.isConfigurationCacheRequested()) {
throw new Exception(
"""
Kotlin Native is not compatible with Gradle configuration-cache.
Please, disable Configuration-cache before you enable native.
""".stripIndent())
}
// modules // modules
include ":benchmarks", include ":benchmarks",