Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecation warning `The DefaultSourceDirectorySet constructor ha…
…s been deprecated`. - Fixed by using the ObjectFactory service to create the source directory set This fixes the following deprecation warning seen in any projects that apply the gradle-css-plugin: ``` 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. ```
- Loading branch information
1e975be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Robin. I try use this version in my project.
But, i have the same error with original css plugin.
Please, you help with a example for that.
1e975be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only fixed the other remaining deprecation warning, but you would also need to get the fixes from an as-yet-unmerged pull request at eriwen#52 to be completely warning-free, I think.