Slackbot
10/12/2022, 11:04 AMVampire
10/12/2022, 11:12 AMzip
two, then zip
the result with the third and the result with the fourth?
The resuld of the first two `zip`s could be a pair and triple, or POJO for example.Jakub Chrzanowski
10/12/2022, 11:35 AMuntilBuild.convention(
extension.sameSinceUntilBuild
.flatMap { sameSinceUntilBuild ->
untilBuild.map { "$it.*" }
.takeIf { sameSinceUntilBuild }
?: buildNumberProvider.map { "${IdeVersion.createIdeVersion(it).baselineVersion}.*" }
}
.zip(extension.updateSinceUntilBuild) { untilBuild, updateSinceUntilBuild ->
untilBuild.takeIf { updateSinceUntilBuild }
}
)
Clayton Walker
10/12/2022, 5:21 PM