diff --git a/docs/changelog-zh-CN.md b/docs/changelog-zh-CN.md index c4a6882..9e695e2 100644 --- a/docs/changelog-zh-CN.md +++ b/docs/changelog-zh-CN.md @@ -19,4 +19,11 @@ - 修复 Gradle 生命周期问题,可能导致 `autowire` 方法的项目作用域不正确 - 改进并采用 Gradle 项目命名规范 - 新增依赖命名空间可启用或禁用生成功能,更新后需要参考文档自行迁移部分配置文件的节点名称否则会发生错误 -- 新增使用 `::` 或 `::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能 \ No newline at end of file +- 新增使用 `::` 或 `::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能 + +## 1.0.3 | 2023.11.04 + +- 修复从 `1.0.0` 版本开始的一个本插件与 `Kotlin` 插件的 `Class` 冲突问题 +- 更换 Kotlin Multiplatform 中的配置依赖 `autowire(...)` 写法为 `sweet.autowire(...)` +- 生成的代码使用 `@Nonnull` 标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型 +- 一些其它功能性的改进 \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 8429524..189e65b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -22,4 +22,11 @@ - 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 +- Added the function of using `::` or `::` to access the dependencies name and alias of other nodes and set them to `version-ref` + +## 1.0.3 | 2023.11.04 + +- Fix a `Class` conflict between this plugin and the `Kotlin` plugin starting from `1.0.0` version +- Change the configuration dependency `autowire(...)` in Kotlin Multiplatform to `sweet.autowire(...)` +- Generated code is marked with `@Nonnull` to make it recognized as a non-null return type in Kotlin DSL scripts +- Some other functional improvements \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 328eed0..0ede5db 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.2-debug +project.version=1.0.3 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 fdcd196..086dad8 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,7 +7,7 @@ pluginManagement { } } plugins { - id("com.highcapable.sweetdependency") version "1.0.2" + id("com.highcapable.sweetdependency") version "1.0.3" id("com.highcapable.sweetproperty") version "1.0.4" } sweetDependency {