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