Skip to content

Commit 2f47d72

Browse files
committed
Bump version to 1.0.3
1 parent 9b1b105 commit 2f47d72

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

docs/changelog-zh-CN.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,11 @@
1919
- 修复 Gradle 生命周期问题,可能导致 `autowire` 方法的项目作用域不正确
2020
- 改进并采用 Gradle 项目命名规范
2121
- 新增依赖命名空间可启用或禁用生成功能,更新后需要参考文档自行迁移部分配置文件的节点名称否则会发生错误
22-
- 新增使用 `<plugins>::``<libraries>::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能
22+
- 新增使用 `<plugins>::``<libraries>::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能
23+
24+
## 1.0.3 | 2023.11.04
25+
26+
- 修复从 `1.0.0` 版本开始的一个本插件与 `Kotlin` 插件的 `Class` 冲突问题
27+
- 更换 Kotlin Multiplatform 中的配置依赖 `autowire(...)` 写法为 `sweet.autowire(...)`
28+
- 生成的代码使用 `@Nonnull` 标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型
29+
- 一些其它功能性的改进

docs/changelog.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,11 @@
2222
- Improve and adopt Gradle project naming convention
2323
- Added dependencies namespace to enable or disable the generation function, after the update, you need to refer to the documentation to migrate the
2424
node names of some configuration files yourself, otherwise errors will occur
25-
- Added the function of using `<plugins>::` or `<libraries>::` to access the dependencies name and alias of other nodes and set them to `version-ref`
25+
- Added the function of using `<plugins>::` or `<libraries>::` to access the dependencies name and alias of other nodes and set them to `version-ref`
26+
27+
## 1.0.3 | 2023.11.04
28+
29+
- Fix a `Class` conflict between this plugin and the `Kotlin` plugin starting from `1.0.0` version
30+
- Change the configuration dependency `autowire(...)` in Kotlin Multiplatform to `sweet.autowire(...)`
31+
- Generated code is marked with `@Nonnull` to make it recognized as a non-null return type in Kotlin DSL scripts
32+
- Some other functional improvements

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project.description=An easy autowire and manage dependencies Gradle plugin.
44
project.url=https://github.com/HighCapable/SweetDependency
55
project.groupName=com.highcapable.sweetdependency
66
project.moduleName=sweet-dependency
7-
project.version=1.0.2-debug
7+
project.version=1.0.3
88
project.licence.name=Apache License 2.0
99
project.licence.url=https://github.com/HighCapable/SweetDependency/blob/master/LICENSE
1010
project.developer.id="0"

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginManagement {
77
}
88
}
99
plugins {
10-
id("com.highcapable.sweetdependency") version "1.0.2"
10+
id("com.highcapable.sweetdependency") version "1.0.3"
1111
id("com.highcapable.sweetproperty") version "1.0.4"
1212
}
1313
sweetDependency {

0 commit comments

Comments
 (0)