File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ This document describes the format and rules for creating a Pull Request (PR) on
88
99## PR Guidelines
1010- If there are unstaged changes when creating a pull request, please split them appropriately and commit them separately.
11- - When using the gh command, first authenticate with ``` gh auth login ``` .
1211- Use the [ PR Template] ( ../templates/PR_TEMPLATE.md ) for PR descriptions
1312- PR titles should be concise and descriptive
1413- Ensure all tests pass before submitting a PR
Original file line number Diff line number Diff line change @@ -180,6 +180,28 @@ tasks {
180180 publishPlugin {
181181 dependsOn(patchChangelog)
182182 }
183+
184+ // Ensure generateLexer and generateParser run before compilation
185+ compileJava {
186+ dependsOn(generateLexer, generateParser)
187+ }
188+
189+ compileKotlin {
190+ dependsOn(generateLexer, generateParser)
191+ }
192+
193+ compileTestJava {
194+ dependsOn(generateLexer, generateParser)
195+ }
196+
197+ compileTestKotlin {
198+ dependsOn(generateLexer, generateParser)
199+ }
200+
201+ // Ensure build task depends on grammar generation
202+ build {
203+ dependsOn(generateLexer, generateParser)
204+ }
183205}
184206
185207tasks.register(" encodeBase64" ) {
You can’t perform that action at this time.
0 commit comments