You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a single usage of one of these methods here at config.fileCollection(dep). Changing that to config.getFiles()should have the same behavior.
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.
The text was updated successfully, but these errors were encountered:
jvandort
changed the title
Protobuf plugin uses Configuration#files(Dependency...) method
Protobuf plugin uses Configuration#fileCollection(Dependency...) method
May 20, 2023
Gradle plans to deprecate this method in Gradle 9.0 (See gradle/gradle #25124).
There is a single usage of one of these methods here at
config.fileCollection(dep)
. Changing that toconfig.getFiles()
should have the same behavior.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.
The text was updated successfully, but these errors were encountered: