Skip to content

Commit ed7b18b

Browse files
authored
Fix gradle task setup (#698)
1 parent 5a29679 commit ed7b18b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

kt/godot-coroutine-library/build.gradle.kts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import versioninfo.fullGodotKotlinJvmVersion
22

33
plugins {
44
alias(libs.plugins.kotlin.jvm)
5-
id("com.utopia-rise.api-generator")
65
id("com.utopia-rise.godot-publish")
76
id("com.utopia-rise.versioninfo")
87
alias(libs.plugins.kotlinPreProcessors)
@@ -33,13 +32,9 @@ dependencies {
3332
}
3433

3534
tasks {
36-
compileKotlin {
37-
dependsOn(":godot-library:generateAPI")
38-
}
39-
4035
// here so the sourcesJar task has an explicit dependency on the generateApi task. Needed since gradle 8
41-
withType<Jar> {
42-
dependsOn(":godot-library:generateAPI")
36+
getByName("sourcesJar") {
37+
dependsOn(":godot-library:sourcesJar")
4338
}
4439
}
4540

0 commit comments

Comments
 (0)