This commit is contained in:
gamer147
2025-11-24 21:12:49 -05:00
parent 76400a6cae
commit 16bfe74417
10 changed files with 395 additions and 77 deletions

View File

@@ -1,3 +1,6 @@
import org.gradle.api.tasks.bundling.Jar
import org.gradle.api.tasks.bundling.Zip
plugins {
id("java")
}
@@ -14,4 +17,15 @@ repositories {
dependencies {
implementation("org.gotti.wurmunlimited:server-modlauncher:0.46")
}
}
tasks.register<Zip>("dist") {
into("mods") {
into(project.name) {
from(tasks.named<Jar>("jar"))
}
from(fileTree("mods") { include("*") })
}
archiveFileName.set("${project.name}.zip")
}