Skip to content

Commit

Permalink
порядок сборки
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-tech committed Dec 18, 2023
1 parent 6866e17 commit 5ee61d9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ tasks.generateGrammarSource {
outputDirectory = file("src/main/gen/com/github/_1c_syntax/bsl/parser")
}

tasks.generateGrammarSource {
doLast {
tasks.updateLicenseMain.get().actions[0].execute(tasks.updateLicenseMain.get())
}
tasks.updateLicenseMain {
mustRunAfter(tasks.generateGrammarSource)
}

tasks.checkLicenseMain {
dependsOn(tasks.updateLicenseMain)
}

tasks.test {
Expand Down

0 comments on commit 5ee61d9

Please sign in to comment.