Skip to content

补全 NeoForge 和 CurseForge 依赖元数据 - #461

Merged
QiuYe-QAQ merged 3 commits into
1.21from
qy/complete-dependency-metadata
Nov 20, 2026
Merged

QiuYe-QAQ merged 3 commits into
1.21from
qy/complete-dependency-metadata

Conversation

@QiuYe-QAQ

Copy link
Copy Markdown
Member

What / 目的

重新提交 #460 的 NeoForge 依赖与 CurseForge 发布元数据,包含后续恢复的 Minecraft 和 NeoForge 版本策略。

Implementation Details / 实现细节

  • 在各依赖自己的 mc-publish 子表填写 CurseForge 项目 slug,补齐 DE 直接调用或注入的可选集成。
  • CTM、Configuration 和 PolyMixin 使用 embedded = true。为配合 mc-publish v3.3.1 的 NeoForge 解析器,三条 (embedded) 覆盖将对应的 CurseForge 关系设为 embeddedLibrary。
  • 模板直接写入 Gradle 提供的 Minecraft Maven 范围 [1.21, 1.21.1]。NeoForge 仍从版本目录生成 [21.1,)。

Outcome / 结果

  • Applied Energistics 2、GuideME 和 LDLib2 为 CurseForge 必需依赖。AE2WTLib 为可选依赖。
  • CurseForge 关系列出了 DE 直接集成的模组。随包发行的 CTM、Configuration 和 PolyMixin 显示为内嵌库。

How Was This Tested / 测试方式

  • gradlew.bat --offline assemble 通过。
  • 从最终 JAR 读取 TOML,用 Maven 解析器验证两个版本范围,并检查 Minecraft 范围接受 1.21 和 1.21.1。
  • 用固定版本 mc-publish v3.3.1 解析最终 JAR 并在本地生成 58 条 CurseForge 关系,核对了三条必需关系和三条内嵌关系。
  • git diff --check 和 UTF-8 无 BOM 检查通过。

@QiuYe-QAQ QiuYe-QAQ added Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: bugfix General bug fixes labels Nov 20, 2026
@github-actions github-actions Bot added 1.21 Tests: Passed Game Tests have passed on this PR labels Nov 20, 2026
@QiuYe-QAQ
QiuYe-QAQ merged commit aaca508 into 1.21 Nov 20, 2026
5 of 6 checks passed
@QiuYe-QAQ
QiuYe-QAQ deleted the qy/complete-dependency-metadata branch November 20, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant