mirror of
https://github.com/HighCapable/SweetDependency.git
synced 2025-12-11 08:13:42 +08:00
2.2 KiB
2.2 KiB
Changelog
1.0.0 | 2023.09.03
- The first version is submitted to Maven
1.0.1 | 2023.09.07
- Use
net.lingala.zip4jto 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
contentfunction ofrepositories
1.0.2 | 2023.09.26
- 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
autowiremethod 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
1.0.3 | 2023.11.04
- Fix a
Classconflict between this plugin and theKotlinplugin starting from1.0.0version - Change the configuration dependency
autowire(...)in Kotlin Multiplatform tosweet.autowire(...) - Generated code is marked with
@Nonnullto make it recognized as a non-null return type in Kotlin DSL scripts - Some other functional improvements
1.0.4 | 2023.11.14
- Added
isUseDependencyResolutionManagementoption, enabled by default, now you can choose whether to allow plugins to usedependencyResolutionManagementto configure library dependencies - Added
isDebugoption, not enabled by default, you can enable this option to output detailed dependency search information during autowiring - Some other functional improvements