1
0
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:
Eclipse
2025-10-16 09:43:04 +00:00
parent 97af13e3bd
commit 58b2c76017
2 changed files with 22 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
import net.fabricmc.loom.task.RemapJarTask
plugins {
id("rainbow.base-conventions")
id("rainbow.publish-conventions")
@@ -8,3 +10,22 @@ dependencies {
implementation(project(path = ":rainbow", configuration = "namedElements"))
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)
}
}