mirror of
https://github.com/GeyserMC/Rainbow.git
synced 2025-12-19 14:59:16 +00:00
Fix actions (I think)
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -87,4 +87,4 @@ jobs:
|
|||||||
discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}
|
discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
body: ${{ steps.metadata.outputs.body }}
|
body: ${{ steps.metadata.outputs.body }}
|
||||||
includeDownloads: ${{ success() && github.repository == 'GeyserMC/Rainbow' && github.ref_name == 'master' }}
|
includeDownloads: ${{ github.ref_name == 'master' }}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import net.fabricmc.loom.task.RemapJarTask
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("rainbow.base-conventions")
|
id("rainbow.base-conventions")
|
||||||
id("rainbow.publish-conventions")
|
id("rainbow.publish-conventions")
|
||||||
@@ -8,3 +10,22 @@ dependencies {
|
|||||||
implementation(project(path = ":rainbow", configuration = "namedElements"))
|
implementation(project(path = ":rainbow", configuration = "namedElements"))
|
||||||
include(project(":rainbow"))
|
include(project(":rainbow"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks {
|
||||||
|
val copyJarTask = register<Copy>("copyRainbowClientJar") {
|
||||||
|
group = "build"
|
||||||
|
|
||||||
|
val remapJarTask = getByName<RemapJarTask>("remapJar")
|
||||||
|
dependsOn(remapJarTask)
|
||||||
|
|
||||||
|
from(remapJarTask.archiveFile)
|
||||||
|
rename {
|
||||||
|
"Rainbow.jar"
|
||||||
|
}
|
||||||
|
into(project.layout.buildDirectory.file("libs"))
|
||||||
|
}
|
||||||
|
|
||||||
|
named("build") {
|
||||||
|
dependsOn(copyJarTask)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user