[Gradle IT] Fixed regex for extracting task log on Windows
#KT-51553 Ready for Review
This commit is contained in:
committed by
Space Team
parent
a2b688eb31
commit
e63e4b17b7
+7
-6
@@ -23,13 +23,14 @@ private fun taskOutputRegexForDebugLog(
|
|||||||
@Language("RegExp")
|
@Language("RegExp")
|
||||||
private fun taskOutputRegexForInfoLog(
|
private fun taskOutputRegexForInfoLog(
|
||||||
taskName: String,
|
taskName: String,
|
||||||
) = """
|
) =
|
||||||
^\s*$
|
"""
|
||||||
^> Task $taskName$
|
^\s*$\r?
|
||||||
([\s\S]+?)
|
^> Task $taskName$\r?
|
||||||
^\s*$
|
([\s\S]+?)\r?
|
||||||
|
^\s*$\r?
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
.toRegex(RegexOption.MULTILINE)
|
.toRegex(RegexOption.MULTILINE)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the output produced by a specific task during a Gradle build.
|
* Gets the output produced by a specific task during a Gradle build.
|
||||||
|
|||||||
Reference in New Issue
Block a user