gradle-plugin
gradle-plugin copied to clipboard
CliDownloader#downloadLatestVersion() uses internal Gradle classes
While convenient, internal Gradle classes should never be used as they can introduce breaking changes with a new Gradle runtime version and therefore may break the consumer of this plugin. Example: https://github.com/snyk/gradle-plugin/blob/master/src/main/java/io/snyk/gradle/plugin/CliDownloader.java#L66
The same behavior can be observed in SnykBinaryTask.
Great suggestion
Seems this should be closed. Neither of the classes in the OP are using anything but public gradle API now.