Skip to content

Commit

Permalink
fix: broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
ennioVisco committed Dec 9, 2023
1 parent 5f4e7ad commit 4b56bb1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions script/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ tasks.generateGrammarSource {
arguments.addAll(listOf("-visitor", "-long-messages"))
}

tasks.build {
dependsOn(tasks.generateGrammarSource)
tasks.withType<Jar>().configureEach {
dependsOn(tasks.withType<AntlrTask>())
}

//tasks.named("sourcesJar") {
// dependsOn(tasks.generateGrammarSource)
//}
//
//tasks.kotlinSourcesJar {
// dependsOn(tasks.generateGrammarSource)
Expand Down

0 comments on commit 4b56bb1

Please # to comment.