nebula-plugins / gradle-extra-configurations-plugin

Gradle plugin introducing a provided dependency configuration and marking a dependency as optional.
Apache License 2.0
139 stars 18 forks source link

OptionalBasePlugin.configureMavenPlugin is not compatible with Gradle 8.0 #53

Closed ljacomet closed 1 year ago

ljacomet commented 1 year ago

Gradle 8.0 finalizes the removal of the legacy maven plugin. The MavenPlugin class remained available in Gradle 7.0 mostly for plugins compatibility.

And the OptionalBasePlugin indeed still has a reference to it in its configureMavenPlugin method.

This reference should be made indirect and only ever used in Gradle < 8.0

rpalcolea commented 1 year ago

Hey @ljacomet ! thanks for bringing this up. we removed this in https://github.com/nebula-plugins/gradle-extra-configurations-plugin/commit/8572372a62dfdeee1341307f88a0dad1c9203252 and now released as 9.0.0