ci: 添加自动化构建脚本
All checks were successful
Publish Project / build (push) Successful in 1m39s

This commit is contained in:
2025-06-15 09:29:34 +08:00
parent 8c6af8e95e
commit cfbed99ece
2 changed files with 28 additions and 1 deletions

View File

@@ -3,6 +3,9 @@
plugins {
id("java")
}
base {
archivesName = "HamsterScript"
}
group = "cn.hamster3.mc.plugin"
version = "1.1.0"
@@ -41,7 +44,6 @@ tasks {
options.encoding = "UTF-8"
}
withType<Jar> {
archiveBaseName = "HamsterScript"
from(rootProject.file("LICENSE"))
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
destinationDirectory = rootProject.layout.buildDirectory