- The first version is submitted to Maven
- 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
- 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
- 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
- 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