Skip to content

Commit

Permalink
fix gradle tasks dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomassetti committed Dec 19, 2023
1 parent 1e47581 commit 803c30c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions antlr/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,15 @@ tasks.named("sourcesJar") {
tasks.named("runKtlintCheckOverMainSourceSet") {
dependsOn("generateGrammarSource")
}

tasks.named("runKtlintCheckOverTestSourceSet") {
dependsOn("generateTestGrammarSource")
}

tasks.named("runKtlintFormatOverMainSourceSet") {
dependsOn("generateGrammarSource")
}

tasks.named("runKtlintFormatOverTestSourceSet") {
dependsOn("generateTestGrammarSource")
}
12 changes: 12 additions & 0 deletions emf/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,15 @@ tasks.named("sourcesJar") {
tasks.named("runKtlintCheckOverMainSourceSet") {
dependsOn("generateGrammarSource")
}

tasks.named("runKtlintCheckOverTestSourceSet") {
dependsOn("generateTestGrammarSource")
}

tasks.named("runKtlintFormatOverMainSourceSet") {
dependsOn("generateGrammarSource")
}

tasks.named("runKtlintFormatOverTestSourceSet") {
dependsOn("generateTestGrammarSource")
}

0 comments on commit 803c30c

Please sign in to comment.