Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit f92dcfa

Browse files
committed
Bump version to 1.0.2
1 parent 222ea51 commit f92dcfa

4 files changed

Lines changed: 25 additions & 4 deletions

File tree

docs/changelog-zh-CN.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,14 @@
99
- 使用 `net.lingala.zip4j` 取代 JDK 默认创建压缩文档功能修复在 Windows 平台中 Gradle 8.0.2+ 版本创建的 JAR 损坏导致找不到生成的 Class 问题
1010
- 重构自动生成代码部分的装载功能,增加可能找不到 Class 的错误提示
1111
- 新增在设置了未定义版本的插件依赖条件下直接运行自动装配相关 Gradle Task 将抛出异常
12-
- 修复可能的旧版本 Gradle 在使用 `repositories``content` 功能会抛出异常
12+
- 修复可能的旧版本 Gradle 在使用 `repositories``content` 功能会抛出异常
13+
14+
## 1.0.2 | 2023.09.26
15+
16+
- 自动生成代码功能将始终输出源码文件,以方便在生成失败的时候进行调试
17+
- 修复部分连续名称的依赖可能导致生成失败的问题
18+
- 修复插件自身检查更新功能失效
19+
- 修复 Gradle 生命周期问题,可能导致 `autowire` 方法的项目作用域不正确
20+
- 改进并采用 Gradle 项目命名规范
21+
- 新增依赖命名空间可启用或禁用生成功能,更新后需要参考文档自行迁移部分配置文件的节点名称否则会发生错误
22+
- 新增使用 `<plugins>::``<libraries>::` 可以访问其它节点的依赖名称、别名并设置到 `version-ref` 功能

docs/changelog.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,15 @@
1111
- Refactor the loading function of the automatically generated code part, and add an error message that classes may not be found
1212
- Added an exception will be thrown when running the autowire related Gradle task directly
1313
under the condition of setting an undefined version of plugins
14-
- Fix possible old version of Gradle throwing exception when using `content` function of `repositories`
14+
- Fix possible old version of Gradle throwing exception when using `content` function of `repositories`
15+
16+
## 1.0.2 | 2023.09.26
17+
18+
- The automatic code generation function will always output source code files to facilitate debugging when the generation fails
19+
- Fix dependencies with some consecutive names may cause generation failure
20+
- Fix plugin own update function
21+
- Fix Gradle lifecycle problem that may cause the project scope of the `autowire` method to be incorrect
22+
- Improve and adopt Gradle project naming convention
23+
- Added dependencies namespace to enable or disable the generation function, after the update, you need to refer to the documentation to migrate the
24+
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`

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.1
7+
project.version=1.0.2
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.1"
10+
id("com.highcapable.sweetdependency") version "1.0.2"
1111
id("com.highcapable.sweetproperty") version "1.0.3"
1212
}
1313
sweetDependency {

0 commit comments

Comments
 (0)