Skip to content

Commit 1ce36dd

Browse files
committed
fix: Jar task depending on self datagen
1 parent 2f2d592 commit 1ce36dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ allprojects {
114114
}
115115

116116
withType<Jar> {
117-
dependsOn("runDatagen")
117+
if (project !in excluded) {
118+
project(":xplat").afterEvaluate { dependsOn(tasks.named("runDatagen")) }
119+
}
118120
from("LICENSE*") {
119121
rename { "${project.name}-${it}" }
120122
}

0 commit comments

Comments
 (0)