Skip to content

Commit

Permalink
added explicit dependency (now working)
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Aug 1, 2024
1 parent bba6869 commit 9fb3f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/maven-artifact.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ val sourcesJar by tasks.creating(Jar::class) {
project.plugins.withType<AntlrPlugin> {
val generateGrammarTask = tasks.findByName("generateGrammarSource")
if (generateGrammarTask != null) {
sourcesJar.configure<Jar> { dependsOn(generateGrammarTask) }
sourcesJar.configure<Task> { dependsOn(generateGrammarTask) }
}
}

Expand Down

0 comments on commit 9fb3f1a

Please sign in to comment.