Skip to content

Commit d0825ed

Browse files
committed
build: missing tasks dependency from compileKotlinJs to generateVersionVariable
1 parent d04c1d7 commit d0825ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-logic/src/main/kotlin/org/modelix/GenerateVersion.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ fun Project.registerVersionGenerationTask(packageName: String) {
5252
}
5353
}
5454

55+
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile>().all {
56+
dependsOn(generateVersionVariable)
57+
}
58+
5559
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
5660
dependsOn(generateVersionVariable)
5761
}

0 commit comments

Comments
 (0)