Skip to content

修复编译并支持jitpack#9

Merged
ybw0014 merged 3 commits into
SlimefunGuguProject:masterfrom
balugaq:master
Jun 13, 2026
Merged

修复编译并支持jitpack#9
ybw0014 merged 3 commits into
SlimefunGuguProject:masterfrom
balugaq:master

Conversation

@balugaq

@balugaq balugaq commented Jun 13, 2026

Copy link
Copy Markdown

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 旨在修复当前项目在依赖更新后的编译问题,并让项目能够在 JitPack 上顺利构建(指定构建 JDK、调整依赖来源与版本)。

Changes:

  • 移除 OwnedBlockMenuPreset / OwnedBlockMenuPresetNode 中使用旧版 BlockMenuPreset 构造方式(含 universal 参数)的构造器,匹配当前依赖 API。
  • 更新 Maven 仓库与依赖坐标:切换 Slimefun4 到新的 groupId/version,并升级 PlaceholderAPI 版本。
  • 新增 jitpack.yml 指定 JitPack 构建使用 OpenJDK 21。

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPresetNode.java 移除旧构造器重载,避免与新 Slimefun API(BlockMenuPreset 构造签名)不兼容导致编译失败。
src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPreset.java 同步移除旧构造器重载,统一为使用 super(id, title) 的构造方式。
pom.xml 调整仓库与依赖:引入新的 Maven 仓库、切换 Slimefun4 坐标并升级 PlaceholderAPI 版本以满足编译/解析需求。
jitpack.yml 指定 JitPack 构建 JDK 为 OpenJDK 21,提高与新依赖字节码版本的兼容性。

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ybw0014
ybw0014 merged commit df769b0 into SlimefunGuguProject:master Jun 13, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants