Commit Graph
15 Commits
Author SHA1 Message Date
TDLM-CI a8377b0d5d fix(ci): caller 传递 org secrets (generic package 上传需 token)
问题: build-release 上传改走 Gitea generic package 后, caller 未传 secrets 导致 401
改动: build.yml 加 secrets: inherit (git add -f 防仓内 gitignore 忽略 .gitea)
验证: 重派发后上传步 HTTP 201
2026-09-07 16:25:29 +00:00
TDLM-CI a06d8583ba fix(ci): 补 gradlew 执行位
Build / build (push) Failing after 6m30s
问题: gradlew 提交时为 100644, checkout 后无执行权限, CI 误判无 wrapper 回退系统 gradle 报 command not found (exit 127)
改动: gradlew git mode 100644 -> 100755, 内容不变
验证: ls-files -s 显示 100755; CI 重跑应走 ./gradlew 路径
2026-09-07 12:48:25 +00:00
layue13 34837740d8 build: settings 补 rootProject.name (CI artifact 名确定性)
Build / build (push) Failing after 15s
问题: gtnhsettingsconvention 以 settings 目录名派生 projectName, act runner 下目录名固定 hostexecutor 导致 artifact 名错位
改动: 显式写死 rootProject.name
验证: CI publish 产物坐标应为 site.potatolab.tdlm:slashblade-nihil
2026-09-07 12:29:10 +00:00
layue13 4959ad2872 ci: 铺 org 共享薄壳 workflow (build-release 模板)
Build / build (push) Failing after 16s
问题: 无统一 CI 入口
改动: .gitea/workflows/build.yml 指向 ci-templates 共享模板
2026-09-07 12:29:09 +00:00
layue13 0bd49806ba build(slashblade-nihil): Daemon JVM criteria 钉 JDK 25
问题: 构建进程 JVM 依赖各机器 JAVA_HOME, 换环境漂移
改动: updateDaemonJvm --jvm-version=25 生成 gradle-daemon-jvm.properties(criteria 优先于 JAVA_HOME/org.gradle.java.home)
验证: JAVA_HOME=Zulu8 下 assemble 全绿(daemon 实跑 JDK25); 产物全部 major=52
2026-09-05 20:35:22 +00:00
layue13 810fb9ef50 @ Clean .gitignore: exclude .gradle/ cache from tracking 2026-07-05 19:04:30 +08:00
TDLM Bot b1e90b2bd8 @Fix SlashBlade API deobfuscation and repoint deps to real SlashBlade/Botania
Compile-error fixes (deobfuscated func_/field_ references -> real SlashBlade API method names):
- ItemSlashBlade / EntityDrive / MotionVector / StunTracker / Refine / Trail / Combo
- DataWatcher parameters: ItemSlashBlade.stack -> SlashBlade.getSpecialAttackFromState, etc.
- Replaced call sites pointed at SlashBlade stub with real SlashBlade mc1.7.10-r87 API

Dependencies updated:
- SlashBlade 1.0.0-stub -> mods.flammpfeil.slashblade:SlashBlade:mc1.7.10-r87 (real, MavenLocal)
- botania-stub -> com.github.GTNewHorizons:Botania:1.13.16-GTNH:dev (real, JitPack/GTNH Maven)

compileJava + publishToMavenLocal both green.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@
2026-07-05 03:35:57 +08:00
layue13 63feb1fa17 chore: ignore .gradle/ cache dir 2026-07-04 18:03:57 +08:00
layue13 344e07b76c Remove obsolete build.sh/compile-decompiled.sh 2026-07-04 16:08:53 +08:00
layue13 bc50c15357 @'
Fix 5 compilation errors in Nihil.java + RecipeAwakeBlade stub

- Nihil.java lines 46,64,84,104,122: SlashBlade.bladeNamed is an ItemStack,
  not an Item. Changed new ItemStack((Item)SlashBlade.bladeNamed,...) to
  new ItemStack(SlashBlade.bladeNamed.getItem(),...).
- Nihil.java lines 149,161: RecipeAwakeBlade did not implement IRecipe.
- slashblade-stub RecipeAwakeBlade.java: added implements IRecipe with
  the four required methods (using srg names func_77569_a etc. to match
  the deobfuscated MC jar).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
'@
2026-07-04 04:45:20 +08:00
layue13andClaude Fable 5 0d0fe0e637 Fix settings.gradle escaping and add initial dependencies
- Fix double-backslash escaping in includeGroupByRegex for Gradle compatibility
- Add initial SlashBlade dependency for toyako-decompiled (compileOnlyApi)

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-03 23:26:42 +08:00
layue13andClaude Fable 5 84b4609cf1 Migrate to GTNH Convention build system
Replace the legacy shell-script-based build (build.sh/compile-decompiled.sh)
with a standard GTNH Convention Gradle build system for Minecraft 1.7.10.

- build.gradle: applies com.gtnewhorizons.gtnhconvention
- settings.gradle: uses com.gtnewhorizons.gtnhsettingsconvention v2.0.24
- gradle.properties: mod metadata and GTNH configuration
- dependencies.gradle: dependency declarations (initially empty)
- gradlew + gradle/wrapper: Gradle 9.4 wrapper

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-03 22:39:49 +08:00
layue13 1f18f12ec1 完善源码构建环境 2026-07-01 11:32:43 +08:00
layue13 e9f493d9a7 完善源码构建环境 2026-07-01 11:32:19 +08:00
layue13 48c13c3067 初始化反编译源码 2026-06-30 04:07:05 +08:00