diff --git a/docs/changelog-zh-CN.md b/docs/changelog-zh-CN.md index dc3569f..c4a6882 100644 --- a/docs/changelog-zh-CN.md +++ b/docs/changelog-zh-CN.md @@ -9,4 +9,14 @@ - 使用 `net.lingala.zip4j` 取代 JDK 默认创建压缩文档功能修复在 Windows 平台中 Gradle 8.0.2+ 版本创建的 JAR 损坏导致找不到生成的 Class 问题 - 重构自动生成代码部分的装载功能,增加可能找不到 Class 的错误提示 - 新增在设置了未定义版本的插件依赖条件下直接运行自动装配相关 Gradle Task 将抛出异常 -- 修复可能的旧版本 Gradle 在使用 `repositories` 的 `content` 功能会抛出异常 \ No newline at end of file +- 修复可能的旧版本 Gradle 在使用 `repositories` 的 `content` 功能会抛出异常 + +## 1.0.2 | 2023.09.26 + +- 自动生成代码功能将始终输出源码文件,以方便在生成失败的时候进行调试 +- 修复部分连续名称的依赖可能导致生成失败的问题 +- 修复插件自身检查更新功能失效 +- 修复 Gradle 生命周期问题,可能导致 `autowire` 方法的项目作用域不正确 +- 改进并采用 Gradle 项目命名规范 +- 新增依赖命名空间可启用或禁用生成功能,更新后需要参考文档自行迁移部分配置文件的节点名称否则会发生错误 +- 新增使用 `::` 或 `::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能 \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 0e4e7d6..8429524 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -11,4 +11,15 @@ - Refactor the loading function of the automatically generated code part, and add an error message that classes may not be found - Added an exception will be thrown when running the autowire related Gradle task directly under the condition of setting an undefined version of plugins -- Fix possible old version of Gradle throwing exception when using `content` function of `repositories` \ No newline at end of file +- Fix possible old version of Gradle throwing exception when using `content` function of `repositories` + +## 1.0.2 | 2023.09.26 + +- The automatic code generation function will always output source code files to facilitate debugging when the generation fails +- Fix dependencies with some consecutive names may cause generation failure +- Fix plugin own update function +- Fix Gradle lifecycle problem that may cause the project scope of the `autowire` method to be incorrect +- Improve and adopt Gradle project naming convention +- Added dependencies namespace to enable or disable the generation function, after the update, you need to refer to the documentation to migrate the + node names of some configuration files yourself, otherwise errors will occur +- Added the function of using `::` or `::` to access the dependencies name and alias of other nodes and set them to `version-ref` \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 534481d..be2b8e3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ project.description=An easy autowire and manage dependencies Gradle plugin. project.url=https://github.com/HighCapable/SweetDependency project.groupName=com.highcapable.sweetdependency project.moduleName=sweet-dependency -project.version=1.0.1 +project.version=1.0.2 project.licence.name=Apache License 2.0 project.licence.url=https://github.com/HighCapable/SweetDependency/blob/master/LICENSE project.developer.id="0" diff --git a/settings.gradle.kts b/settings.gradle.kts index 199cb8c..3078530 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,7 +7,7 @@ pluginManagement { } } plugins { - id("com.highcapable.sweetdependency") version "1.0.1" + id("com.highcapable.sweetdependency") version "1.0.2" id("com.highcapable.sweetproperty") version "1.0.3" } sweetDependency {