Fail fast, and with a descriptive error, if both configuration-cache and native are enabled
Required for KTI-1553
This commit is contained in:
committed by
Space Team
parent
95ea711659
commit
f77c08a821
@@ -26,6 +26,13 @@ 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",
|
||||||
|
|||||||
Reference in New Issue
Block a user