eriwen / gradle-js-plugin

Gradle plugin for working with JS
http://eriwen.github.io/gradle-js-plugin
Apache License 2.0
382 stars 113 forks source link

The DefaultSourceDirectorySet constructor has been deprecated #169

Open emulov opened 5 years ago

emulov commented 5 years ago

Hi,

Since upgrading to Gradle 5.0 we get the following warning message when using the com.eriwen.gradle.js.tasks.MinifyJsTask:

The DefaultSourceDirectorySet constructor has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the ObjectFactory service to create instances of SourceDirectorySet instead. at build_931gl2743m2v4e7n85qw5q200$_run_closure3.doCall

What should be done to avoid this warning and to make sure that we can still use the com.eriwen.gradle.js Gradle plugin as soon as Gradle 6.0 is released?

Thanks and kind regards, Emulov