mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-10 03:56:31 +08:00
fix github
This commit is contained in:
parent
96abdd8f5f
commit
8754d989a9
@ -15,7 +15,6 @@ import org.gradle.api.Plugin
|
|||||||
import org.gradle.api.Project
|
import org.gradle.api.Project
|
||||||
import org.gradle.kotlin.dsl.apply
|
import org.gradle.kotlin.dsl.apply
|
||||||
import org.gradle.kotlin.dsl.attributes
|
import org.gradle.kotlin.dsl.attributes
|
||||||
import org.gradle.kotlin.dsl.creating
|
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import kotlin.math.pow
|
import kotlin.math.pow
|
||||||
|
|
||||||
@ -48,7 +47,7 @@ class MiraiConsoleBuildPlugin : Plugin<Project> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.creating {
|
tasks.create("githubUpload") {
|
||||||
group = "mirai"
|
group = "mirai"
|
||||||
dependsOn(tasks.getByName("shadowJar"))
|
dependsOn(tasks.getByName("shadowJar"))
|
||||||
|
|
||||||
@ -72,7 +71,7 @@ class MiraiConsoleBuildPlugin : Plugin<Project> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.creating {
|
tasks.create("cuiCloudUpload") {
|
||||||
group = "mirai"
|
group = "mirai"
|
||||||
dependsOn(tasks.getByName("shadowJar"))
|
dependsOn(tasks.getByName("shadowJar"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user