mirror of
https://github.com/barkeser2002/Boiler.git
synced 2026-09-25 00:59:58 +03:00
29 lines
598 B
Kotlin
29 lines
598 B
Kotlin
plugins {
|
|
id("io.papermc.paperweight.userdev")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":platform-common"))
|
|
paperweight.paperDevBundle("1.20-R0.1-SNAPSHOT")
|
|
}
|
|
|
|
tasks {
|
|
reobfJar {
|
|
inputJar.set(jar.get().outputs.files.singleFile)
|
|
outputJar.set(File.createTempFile("reobfOut", ".jar"))
|
|
|
|
doLast {
|
|
val inputFile = inputJar.get().asFile
|
|
inputFile.delete()
|
|
|
|
val outputFile = outputJar.get().asFile
|
|
outputFile.copyTo(inputFile)
|
|
outputFile.delete()
|
|
}
|
|
}
|
|
|
|
assemble {
|
|
dependsOn(reobfJar)
|
|
}
|
|
}
|