mirror of
https://github.com/HighCapable/SweetDependency.git
synced 2025-09-04 01:35:46 +08:00
Bump version to 1.0.4
This commit is contained in:
@@ -26,4 +26,10 @@
|
|||||||
- 修复从 `1.0.0` 版本开始的一个本插件与 `Kotlin` 插件的 `Class` 冲突问题
|
- 修复从 `1.0.0` 版本开始的一个本插件与 `Kotlin` 插件的 `Class` 冲突问题
|
||||||
- 更换 Kotlin Multiplatform 中的配置依赖 `autowire(...)` 写法为 `sweet.autowire(...)`
|
- 更换 Kotlin Multiplatform 中的配置依赖 `autowire(...)` 写法为 `sweet.autowire(...)`
|
||||||
- 生成的代码使用 `@Nonnull` 标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型
|
- 生成的代码使用 `@Nonnull` 标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型
|
||||||
|
- 一些其它功能性的改进
|
||||||
|
|
||||||
|
## 1.0.4 | 2023.11.14
|
||||||
|
|
||||||
|
- 新增 `isUseDependencyResolutionManagement` 选项,默认启用,现在你可以选择是否允许插件使用 `dependencyResolutionManagement` 配置库依赖
|
||||||
|
- 新增 `isDebug` 选项,默认不启用,你可以启用此选项来在自动装配时输出详细的依赖搜索信息
|
||||||
- 一些其它功能性的改进
|
- 一些其它功能性的改进
|
@@ -29,4 +29,11 @@
|
|||||||
- Fix a `Class` conflict between this plugin and the `Kotlin` plugin starting from `1.0.0` version
|
- 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(...)`
|
- 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
|
- Generated code is marked with `@Nonnull` to make it recognized as a non-null return type in Kotlin DSL scripts
|
||||||
|
- Some other functional improvements
|
||||||
|
|
||||||
|
## 1.0.4 | 2023.11.14
|
||||||
|
|
||||||
|
- Added `isUseDependencyResolutionManagement` option, enabled by default, now you can choose whether to allow plugins to
|
||||||
|
use `dependencyResolutionManagement` 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
|
- 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.url=https://github.com/HighCapable/SweetDependency
|
||||||
project.groupName=com.highcapable.sweetdependency
|
project.groupName=com.highcapable.sweetdependency
|
||||||
project.moduleName=sweet-dependency
|
project.moduleName=sweet-dependency
|
||||||
project.version=1.0.3
|
project.version=1.0.4
|
||||||
project.licence.name=Apache License 2.0
|
project.licence.name=Apache License 2.0
|
||||||
project.licence.url=https://github.com/HighCapable/SweetDependency/blob/master/LICENSE
|
project.licence.url=https://github.com/HighCapable/SweetDependency/blob/master/LICENSE
|
||||||
project.developer.id="0"
|
project.developer.id="0"
|
||||||
|
@@ -8,7 +8,7 @@ pluginManagement {
|
|||||||
plugins {
|
plugins {
|
||||||
// Import the SweetDependency plugin here
|
// Import the SweetDependency plugin here
|
||||||
// 在这里引入 SweetDependency 插件
|
// 在这里引入 SweetDependency 插件
|
||||||
id("com.highcapable.sweetdependency") version "1.0.3"
|
id("com.highcapable.sweetdependency") version "1.0.4"
|
||||||
}
|
}
|
||||||
sweetDependency {
|
sweetDependency {
|
||||||
configFileName = "sweet-dependency-config.yaml"
|
configFileName = "sweet-dependency-config.yaml"
|
||||||
|
@@ -8,7 +8,7 @@ pluginManagement {
|
|||||||
plugins {
|
plugins {
|
||||||
// Import the SweetDependency plugin here
|
// Import the SweetDependency plugin here
|
||||||
// 在这里引入 SweetDependency 插件
|
// 在这里引入 SweetDependency 插件
|
||||||
id("com.highcapable.sweetdependency") version "1.0.3"
|
id("com.highcapable.sweetdependency") version "1.0.4"
|
||||||
}
|
}
|
||||||
sweetDependency {
|
sweetDependency {
|
||||||
configFileName = "sweet-dependency-config.yaml"
|
configFileName = "sweet-dependency-config.yaml"
|
||||||
|
@@ -7,7 +7,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
plugins {
|
plugins {
|
||||||
id("com.highcapable.sweetdependency") version "1.0.3"
|
id("com.highcapable.sweetdependency") version "1.0.4"
|
||||||
id("com.highcapable.sweetproperty") version "1.0.5"
|
id("com.highcapable.sweetproperty") version "1.0.5"
|
||||||
}
|
}
|
||||||
sweetDependency {
|
sweetDependency {
|
||||||
|
Reference in New Issue
Block a user