google / protobuf-gradle-plugin

Protobuf Plugin for Gradle
Other
1.73k stars 269 forks source link

stop using configuration Configuration#fileCollection(Dependency...) soon to be deprecated (#716) (v0.9.x backport)) #720

Closed YifeiZhuang closed 11 months ago

YifeiZhuang commented 11 months ago

The files(Dependency...) method filters the contents of the configuration to only include files from the provided dependencies and it's transitive dependencies. Since there is only one dependency in the configuration, using this method is unnecessary.

backport of https://github.com/google/protobuf-gradle-plugin/pull/716