I start to test Gradle 5.0.rc-4 with Kotlin 1.3.10 with the sample found here:
I changed the
build.gradle.kts plugins of Kotlin to be 1.3.10
When I execute
it successfully build but with this
Configure project :
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.
How I use ObjectFactory here?