Releases: HighCapable/SweetDependency
Releases · HighCapable/SweetDependency
1.0.4
SweetDependency 1.0.4 Released
- Added
isUseDependencyResolutionManagement
option, enabled by default, now you can choose whether to allow plugins to
usedependencyResolutionManagement
to configure library dependencies - Added
isDebug
option, not enabled by default, you can enable this option to output detailed dependency search information during autowiring - Some other functional improvements
For more details, please check the changelog.
SweetDependency 1.0.4 已发布
- 新增
isUseDependencyResolutionManagement
选项,默认启用,现在你可以选择是否允许插件使用dependencyResolutionManagement
配置库依赖 - 新增
isDebug
选项,默认不启用,你可以启用此选项来在自动装配时输出详细的依赖搜索信息 - 一些其它功能性的改进
详情请查看更新日志。
1.0.3
SweetDependency 1.0.3 Released
- Fix a
Class
conflict between this plugin and theKotlin
plugin starting from1.0.0
version - Change the configuration dependency
autowire(...)
in Kotlin Multiplatform tosweet.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
For more details, please check the changelog.
SweetDependency 1.0.3 已发布
- 修复从
1.0.0
版本开始的一个本插件与Kotlin
插件的Class
冲突问题 - 更换 Kotlin Multiplatform 中的配置依赖
autowire(...)
写法为sweet.autowire(...)
- 生成的代码使用
@Nonnull
标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型 - 一些其它功能性的改进
详情请查看更新日志。
1.0.2
SweetDependency 1.0.2 Released
- 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
<plugins>::
or<libraries>::
to access the dependencies name and alias of other nodes and set them toversion-ref
For more details, please check the changelog.
SweetDependency 1.0.2 已发布
- 自动生成代码功能将始终输出源码文件,以方便在生成失败的时候进行调试
- 修复部分连续名称的依赖可能导致生成失败的问题
- 修复插件自身检查更新功能失效
- 修复 Gradle 生命周期问题,可能导致
autowire
方法的项目作用域不正确 - 改进并采用 Gradle 项目命名规范
- 新增依赖命名空间可启用或禁用生成功能,更新后需要参考文档自行迁移部分配置文件的节点名称否则会发生错误
- 新增使用
<plugins>::
或<libraries>::
可以访问其它节点的依赖名称、别名并设置到version-ref
功能
详情请查看更新日志。
1.0.1
SweetDependency 1.0.1 Released
- Use
net.lingala.zip4j
to replace JDK's default function of creating compressed files and fix the problem that the JAR created by Gradle 8.0.2+
version on Windows platform is broken and the generated classes cannot be found - 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 ofrepositories
For more details, please check the changelog.
SweetDependency 1.0.1 已发布
- 使用
net.lingala.zip4j
取代 JDK 默认创建压缩文档功能修复在 Windows 平台中 Gradle 8.0.2+ 版本创建的 JAR 损坏导致找不到生成的 Class 问题 - 重构自动生成代码部分的装载功能,增加可能找不到 Class 的错误提示
- 新增在设置了未定义版本的插件依赖条件下直接运行自动装配相关 Gradle Task 将抛出异常
- 修复可能的旧版本 Gradle 在使用
repositories
的content
功能会抛出异常
详情请查看更新日志。