diff --git a/docs/changelog-zh-CN.md b/docs/changelog-zh-CN.md index 9e695e2..b72a171 100644 --- a/docs/changelog-zh-CN.md +++ b/docs/changelog-zh-CN.md @@ -26,4 +26,10 @@ - 修复从 `1.0.0` 版本开始的一个本插件与 `Kotlin` 插件的 `Class` 冲突问题 - 更换 Kotlin Multiplatform 中的配置依赖 `autowire(...)` 写法为 `sweet.autowire(...)` - 生成的代码使用 `@Nonnull` 标记以使其能够在 Kotlin DSL 脚本中识别为非空返回值类型 +- 一些其它功能性的改进 + +## 1.0.4 | 2023.11.14 + +- 新增 `isUseDependencyResolutionManagement` 选项,默认启用,现在你可以选择是否允许插件使用 `dependencyResolutionManagement` 配置库依赖 +- 新增 `isDebug` 选项,默认不启用,你可以启用此选项来在自动装配时输出详细的依赖搜索信息 - 一些其它功能性的改进 \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 189e65b..53b9d12 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -29,4 +29,11 @@ - 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 + +## 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 \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 0ede5db..10c9c8f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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.3 +project.version=1.0.4 project.licence.name=Apache License 2.0 project.licence.url=https://github.com/HighCapable/SweetDependency/blob/master/LICENSE project.developer.id="0" diff --git a/samples/sample-android/settings.gradle.kts b/samples/sample-android/settings.gradle.kts index 8dd5f93..cfa5392 100644 --- a/samples/sample-android/settings.gradle.kts +++ b/samples/sample-android/settings.gradle.kts @@ -8,7 +8,7 @@ pluginManagement { plugins { // Import the SweetDependency plugin here // 在这里引入 SweetDependency 插件 - id("com.highcapable.sweetdependency") version "1.0.3" + id("com.highcapable.sweetdependency") version "1.0.4" } sweetDependency { configFileName = "sweet-dependency-config.yaml" diff --git a/samples/sample-jvm/settings.gradle.kts b/samples/sample-jvm/settings.gradle.kts index c45bf4c..d5174a9 100644 --- a/samples/sample-jvm/settings.gradle.kts +++ b/samples/sample-jvm/settings.gradle.kts @@ -8,7 +8,7 @@ pluginManagement { plugins { // Import the SweetDependency plugin here // 在这里引入 SweetDependency 插件 - id("com.highcapable.sweetdependency") version "1.0.3" + id("com.highcapable.sweetdependency") version "1.0.4" } sweetDependency { configFileName = "sweet-dependency-config.yaml" diff --git a/settings.gradle.kts b/settings.gradle.kts index 7a3a4a7..f91511d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,7 +7,7 @@ pluginManagement { } } 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" } sweetDependency {