diff --git a/gradle.properties b/gradle.properties index 7dcfa57be38..af24466b976 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,6 +8,7 @@ kotlin.incremental.useClasspathSnapshot=true org.gradle.parallel=true org.gradle.caching=true +org.gradle.configuration-cache=true org.gradle.kotlin.dsl.allWarningsAsErrors=true # Please keep it in sync with buildSrc gradle.properties. diff --git a/settings.gradle b/settings.gradle index 5e839f0129a..c19808920a0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -26,13 +26,6 @@ plugins { } 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 include ":benchmarks",