[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( val configCacheIncompatibleTasks = listOf(
":generateProjectStructureMetadata", ":lib:transformCommonMainDependenciesMetadata",
":transformCommonMainDependenciesMetadata",
) )
build("clean", "assemble", buildOptions = options) { build("clean", "assemble", buildOptions = options) {
assertTasksExecuted(configCacheIncompatibleTasks) assertTasksExecuted(configCacheIncompatibleTasks)
configCacheIncompatibleTasks.forEach { task -> configCacheIncompatibleTasks.forEach { task ->
assertOutputContains( 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() .toRegex()
) )
} }