diff --git a/buildSrc/src/main/kotlin/MiraiConsoleBuildPlugin.kt b/buildSrc/src/main/kotlin/MiraiConsoleBuildPlugin.kt index 3713068b7..3925c4813 100644 --- a/buildSrc/src/main/kotlin/MiraiConsoleBuildPlugin.kt +++ b/buildSrc/src/main/kotlin/MiraiConsoleBuildPlugin.kt @@ -15,7 +15,6 @@ import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.apply import org.gradle.kotlin.dsl.attributes -import org.gradle.kotlin.dsl.creating import java.io.File import kotlin.math.pow @@ -48,7 +47,7 @@ class MiraiConsoleBuildPlugin : Plugin { } } - tasks.creating { + tasks.create("githubUpload") { group = "mirai" dependsOn(tasks.getByName("shadowJar")) @@ -72,7 +71,7 @@ class MiraiConsoleBuildPlugin : Plugin { } } - tasks.creating { + tasks.create("cuiCloudUpload") { group = "mirai" dependsOn(tasks.getByName("shadowJar"))