Enable configuration-cache
Fixes KTI-1553
This commit is contained in:
committed by
Space Team
parent
786c37286c
commit
09dc9c6743
@@ -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.
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user