Repository navigation
feat(gradle): native module bytecode and local JAR settings - #14
Merged
Merged
Conversation
1lck
marked this pull request as ready for review
November 15, 2026 17:21
21 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
Refs 1lck/Lithe-IDEA#1832、1lck/Lithe-IDEA#519;宿主配套 1lck/Lithe-IDEA#1985,Core Lithe-IDEA/Lithe-core-rust#57、#58、#59。
PR 类型 / Type
改动说明 / What changes
从真实 Gradle JavaCompile 任务读取模块、继承、目标与附加参数,支持 Groovy 和 Kotlin。仅维护源码末尾的插件所有配置块,保留原始脚本;修改过的配置块拒绝覆盖。可设置项目默认、模块目标与本地 JAR,移除覆盖后恢复原配置。
新增编译器页和语言/构建工具页中的本地 JAR 入口、插件自己的中英翻译和文档;采用 sourceSettings 0,通过宿主确认、受保护暂存和原子发布,运行时不修改插件包。JDK 的全局登记与默认值由宿主统一提供,项目可单独覆盖。构建运行时依赖显式声明候选与版本,失效固定值不能回退到其他 JDK。
版本按新增宿主能力要求升主版本;请先升级支持 sourceSettings 0 的正式桌面版,旧宿主保留上一兼容插件。发布流程先生成 Draft Release,验证下载物后再正式发布。
范围检查 / Scope checks
验证 / Verification
真实 Groovy/Kotlin 项目均验证继承、class major 52/55、本地 JAR 编译运行与脚本前缀不变;既有模型/依赖/测试工作流、后端与归档检查通过。设计取舍保存在插件自己的 Agent Note。
Windows 11 ARM64 来宾通过系统 x64 仿真运行 Node 24、JDK 21 与 Windows 原生插件包;实际编译、模块 class major 52/55(JDT 为 52)、带空格的外部 JAR 运行均通过,HTML/JUnit 计时已保存。全部本次任务进程已确认退出,临时目录已清理,虚拟机已正常关机并确认 stopped。
最终 CI 全绿。未修改 Windows ARM64 支持声明;当前桌面支持 Windows x64。没有把无头检查声称为安装/签名/更新全链路验收。