mirror of
https://github.com/HighCapable/SweetDependency.git
synced 2025-09-04 01:35:46 +08:00
Bump version to 1.0.3
This commit is contained in:
@@ -19,4 +19,11 @@
|
||||
- 修复 Gradle 生命周期问题,可能导致 `autowire` 方法的项目作用域不正确
|
||||
- 改进并采用 Gradle 项目命名规范
|
||||
- 新增依赖命名空间可启用或禁用生成功能,更新后需要参考文档自行迁移部分配置文件的节点名称否则会发生错误
|
||||
- 新增使用 `<plugins>::` 或 `<libraries>::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能
|
||||
- 新增使用 `<plugins>::` 或 `<libraries>::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能
|
||||
|
||||
## 1.0.3 | 2023.11.04
|
||||
|
||||
- 修复从 `1.0.0` 版本开始的一个本插件与 `Kotlin` 插件的 `Class` 冲突问题
|
||||
- 更换 Kotlin Multiplatform 中的配置依赖 `autowire(...)` 写法为 `sweet.autowire(...)`
|
||||
- 生成的代码使用 `@Nonnull` 标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型
|
||||
- 一些其它功能性的改进
|
@@ -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 `<plugins>::` or `<libraries>::` to access the dependencies name and alias of other nodes and set them to `version-ref`
|
||||
- Added the function of using `<plugins>::` or `<libraries>::` 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
|
@@ -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"
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user