[Gradle] Fix testHmppTasksAreNotIncludedInGradleConfigurationCache test
^KT-43293
This commit is contained in:
+2
-3
@@ -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()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user