修改打包脚本 提供 rebof 版本
All checks were successful
Java CI-CD with Gradle / build (push) Successful in 28m8s

This commit is contained in:
zhangyuheng 2024-05-08 14:12:46 +08:00
parent 2f609308fb
commit 2615826752
3 changed files with 10 additions and 3 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: "Apply Patches"
run: ./gradlew applyPatches
- name: "Build Mojmap"
run: ./gradlew createMojmapPaperclipJar
run: ./gradlew createReobfPaperclipJar
- name: "Copy jar to staging"
run: mkdir staging && cp build/libs/*.jar staging
- name: "Setup go for release script"

View File

@ -91,6 +91,6 @@ DeerFolia 是一个基于 [Folia](https://papermc.io/software/folia) 的 Minecra
- 如果遇到 `invalid object` 错误,可以使用 `git apply --reject <patch file>` 手动应用补丁;
- 会生成 `.rej` 文件,可在其中查看冲突内容,手动解决冲突;
- 完成后删除 `.rej` 文件,然后执行 `git add .`
4. 然后在`deer-folia-server` 或 `deer-folia-api`目录运行 `git am --resolved`
4. 然后运行 `git am --resolved` 继续应用补丁
5. 如果存在新的冲突,重复步骤 3 和 4
6. 全部补丁应用完成后,更新补丁:`./gradlew rebuildPatches`。

View File

@ -28,7 +28,7 @@ repositories {
}
dependencies {
remapper("net.fabricmc:tiny-remapper:0.8.10:fat")
remapper("net.fabricmc:tiny-remapper:0.10.1:fat")
decompiler("net.minecraftforge:forgeflower:2.0.627.2")
paperclip("io.papermc:paperclip:3.0.3")
}
@ -48,6 +48,13 @@ subprojects {
repositories {
mavenCentral()
maven(paperMavenPublicUrl)
maven("https://oss.sonatype.org/content/groups/public/")
maven("https://ci.emc.gs/nexus/content/groups/aikar/")
maven("https://repo.aikar.co/content/groups/aikar")
maven("https://repo.md-5.net/content/repositories/releases/")
maven("https://hub.spigotmc.org/nexus/content/groups/public/")
maven("https://jitpack.io")
maven("https://repo.codemc.io/repository/maven-public/")
}
}