Amper 0.9.0 Released — First Extensibility Preview
Amper 0.9.0 introduces an extensibility preview that lets you create local plugins to define custom tasks using Kotlin plus a plugin.yaml manifest.
重點摘要
Extensibility preview: local plugins via jvm/amper-plugin
Dependency graph caching speeds up resolution and sync
Incremental Java compilation and Maven-like layout support
Amper 0.9.0 ships the first preview of its extensibility system, enabling local plugins that define custom tasks implemented in Kotlin and registered via plugin.yaml under the new jvm/amper-plugin product type. The preview supports automatic task wiring, inferred dependencies, classpath inputs, generated outputs, and task avoidance; publishing and sharing plugins, templates, and additional task-authoring conveniences are planned. Performance improvements include caching the dependency graph to reduce IDE import and sync time and an optional incremental Java compiler (enabled via settings.java.compileIncrementally) to recompile only changed code within modules. New ergonomics let projects keep a Maven-like directory layout for jvm/app and jvm/lib modules, place a single libs.versions.toml at the project root, and benefit from IDE additions such as auto-sync, richer sync details, main-class completion, catalog quick-fixes, Amper YAML color settings, and updated default tool versions. Try the update with ./amper update and share feedback on Slack or YouTrack.
Amper 0.9.0 发布 — 可扩展性预览
Amper 0.9.0 推出可扩展性预览,允许通过本地插件(使用 Kotlin 和 plugin.yaml)定义自定义任务并暴露给模块使用。
重點摘要
可扩展性预览:使用 jvm/amper-plugin 支持本地插件
缓存依赖图以加快解析与同步速度
支持增量 Java 编译与 Maven-like 目录布局
Amper 0.9.0 带来首个可扩展性预览:可以创建 jvm/amper-plugin 类型的模块,在 Kotlin 中实现自定义任务并通过 plugin.yaml 注册输入输出,工具会推断任务依赖并默认启用任务避开(task avoidance),支持类路径输入以及将输出注册为生成的源码或资源。未来将支持发布/共享插件、随插件携带的配置模板、减少单模块任务样板、任务作者常用服务和更多 IDE 快修。其他改进包括缓存依赖图以提升 IDE 导入/同步性能、可选的增量 Java 编译、允许为 jvm/app 与 jvm/lib 保留 Maven-like 布局、在项目根放置 libs.versions.toml、自动同步、主类补全、目录版本快速修复、Amper YAML 颜色设置以及默认工具版本更新。使用 ./amper update 更新并在 Slack 或 YouTrack 提交反馈。
Amper 0.9.0 發佈 — 可擴充性預覽
Amper 0.9.0 推出可擴充性預覽,允許透過本地插件(使用 Kotlin 與 plugin.yaml)定義自訂任務並暴露給模組使用。
重點摘要
可擴充性預覽:透過 jvm/amper-plugin 支援本地插件
快取相依圖以提升解析與同步速度
支援增量 Java 編譯與 Maven-like 目錄布局
Amper 0.9.0 提供首個可擴充性預覽:可建立 jvm/amper-plugin 類型的模組,在 Kotlin 中實作自訂任務並以 plugin.yaml 註冊其輸入輸出,工具能推斷任務依賴與啟用任務避免(task avoidance),並支援類別路徑輸入與產生來源或資源的輸出。未來計畫包含可發佈/分享的插件、隨插件綁定的設定範本、減少單模組任務樣板、常用任務撰寫服務與更多 IDE 快修。其他更新還有:快取相依圖以縮短 IDE 匯入/同步時間、選用的增量 Java 編譯、允許為 jvm/app 與 jvm/lib 保留 Maven-like 目錄、在專案根目錄放置 libs.versions.toml、以及自動同步、主類補完、目錄版本快速修正、色彩主題設定與預設工具版本更新。使用 ./amper update 更新並在 Slack 或 YouTrack 回饋意見。