[Gradle] Fix testHmppTasksAreNotIncludedInGradleConfigurationCache test

^KT-43293
This commit is contained in:
Anton Lakotka
2022-07-22 20:59:52 +02:00
committed by Space
parent e00f9c25a1
commit 528584deaa
@@ -729,15 +729,14 @@ class HierarchicalMppIT : KGPBaseTest() {
}
val configCacheIncompatibleTasks = listOf(
":generateProjectStructureMetadata",
":transformCommonMainDependenciesMetadata",
":lib:transformCommonMainDependenciesMetadata",
)
build("clean", "assemble", buildOptions = options) {
assertTasksExecuted(configCacheIncompatibleTasks)
configCacheIncompatibleTasks.forEach { task ->
assertOutputContains(
"""Task `$task` of type `.+`: .+(at execution time is unsupported)|(not supported with the configuration cache)"""
"""Task `${task}` of type `.+`: .+(at execution time is unsupported|not supported with the configuration cache)"""
.toRegex()
)
}