Skip to content

Commit 49dea3f

Browse files
committed
ktl-2025 chore: return grammar to the dependency chain
1 parent 775600c commit 49dea3f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.teamcity/builds/kotlinlang/templates/DockerImageBuilder.kt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ object DockerImageBuilder : Template({
3434
onDependencyCancel = FailureAction.CANCEL
3535
}
3636

37-
artifacts(BuildKotlinGrammar) {
38-
buildRule = lastPinned("+:*")
39-
artifactRules = "grammar.xml"
37+
dependency(BuildKotlinGrammar) {
38+
snapshot {
39+
onDependencyFailure = FailureAction.FAIL_TO_START
40+
onDependencyCancel = FailureAction.CANCEL
41+
}
42+
43+
artifacts {
44+
artifactRules = "grammar.xml"
45+
}
4046
}
4147
}
4248
})

0 commit comments

Comments
 (0)