From 417764691dcde0d98e4c1aad5a183bb34d9a3a2d Mon Sep 17 00:00:00 2001 From: Levente Bajczi Date: Fri, 2 Aug 2024 00:55:21 +0200 Subject: [PATCH] fixed maven-artifact --- buildSrc/src/main/kotlin/maven-artifact.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/maven-artifact.gradle.kts b/buildSrc/src/main/kotlin/maven-artifact.gradle.kts index 05cee12dfc..95ddb2d588 100644 --- a/buildSrc/src/main/kotlin/maven-artifact.gradle.kts +++ b/buildSrc/src/main/kotlin/maven-artifact.gradle.kts @@ -50,7 +50,7 @@ val sourcesJar by tasks.creating(Jar::class) { project.plugins.withType { val generateGrammarTask = tasks.findByName("generateGrammarSource") if (generateGrammarTask != null) { - sourcesJar.configure { dependsOn(generateGrammarTask) } + project.tasks.named("sourcesJar") { dependsOn(generateGrammarTask) } } }