这是indexloc提供的服务,不要输入任何密码
Skip to content

v1.0 - Move to GradleX

Compare
Choose a tag to compare
@britter britter released this 13 Jan 08:48
· 74 commits to main since this release
v1.0
9c20ebe

This release marks the move of this plugin to the GradleX project.
Consequently, this is a breaking release with features being dropped, plugin ID and code coordinate changes, and the implementation language changing from Kotlin to Java.
The minimal required Gradle version has been increased to 7.5.

  • [Fixed] #57 Remove javaClassesDir from GenerateMavenPluginDescriptorTask.
  • [Fixed] #210 Drop feature: Mojo source set.
    It's no longer possible to define a dedicated source set for defining the mojo. Use a dedicated project instead.
  • [Fixed] #212 Drop feature: Finding mojos in project dependencies.
    The plugin no longer searches for mojo implementations in dependent projects since this is not the way of modelling aggregation of build results in Gradle. Users who rely on this use case should instead apply this plugin to all projects with mojo implementations, set up a variant that exposes the descriptor, and then merge all exposed descriptor variants in an aggregator project.
  • [Fixed] 209 Drop feature: Mojo DSL.
    This feature was dropped without replacement. Annotate mojos using annotations defined in org.apache.maven.plugin-tools:maven-plugin-annotations instead of declaring them in your build script.
  • [Fixed] 278 Remove deprecated code.
    In particular this the generateHelpMojo property was removed. Users should configure helpMojoPackage with the desired target package for the generated help mojo.
  • [Fixed] 8 Support configuration cache.
  • [Fixed] 38 Don't use Property for lazy types.
    Instead of declaring fields of type Property<FileCollection> the GenerateMavenPluginDescriptorTask not declares fields of type ConfigurableFileCollection, which is more idiomatic.
  • [Fixed] 78 Migration to Java.
  • [Fixed] 203 Migration to GradleX namespace.
  • [Fixed] 283 Fix deprecation issued for accessing other projects.