[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")
|
||||
private fun taskOutputRegexForInfoLog(
|
||||
taskName: String,
|
||||
) = """
|
||||
^\s*$
|
||||
^> Task $taskName$
|
||||
([\s\S]+?)
|
||||
^\s*$
|
||||
) =
|
||||
"""
|
||||
^\s*$\r?
|
||||
^> Task $taskName$\r?
|
||||
([\s\S]+?)\r?
|
||||
^\s*$\r?
|
||||
""".trimIndent()
|
||||
.toRegex(RegexOption.MULTILINE)
|
||||
.toRegex(RegexOption.MULTILINE)
|
||||
|
||||
/**
|
||||
* Gets the output produced by a specific task during a Gradle build.
|
||||
|
||||
Reference in New Issue
Block a user