Skip to content

support gradle 9#323

Open
steven-rand wants to merge 1 commit into
markelliot:developfrom
steven-rand:gradle-9
Open

support gradle 9#323
steven-rand wants to merge 1 commit into
markelliot:developfrom
steven-rand:gradle-9

Conversation

@steven-rand

Copy link
Copy Markdown

Handful of changes to support gradle 9:

  • Remove org.inferred.processors plugin which does not run on gradle 9 and is replaced by annotationProcessor configurations
  • Replace getFirstLevelModuleDependencies(Spec<? super Dependency> dependencySpec) which is not allowed in gradle 9 with the no-arg version -- the behavior should be the same since we were passing Specs.SATISFIES_ALL instead of something more restrictive
  • Skip non-resolvable configurations; without that, we were getting copyRecursive() is not allowed for configuration 'api' errors

Tested with both gradle 9.6.1 and gradle 8.14.5 and from what I can tell this works with both, so should not be a breaking change for 8.x users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant