Skip to content

Commit

Permalink
fixed maven-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Aug 1, 2024
1 parent 9fb3f1a commit 4177646
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<Task> { dependsOn(generateGrammarTask) }
project.tasks.named("sourcesJar") { dependsOn(generateGrammarTask) }
}
}

Expand Down

0 comments on commit 4177646

Please sign in to comment.