I’m trying to include java code coverage to by build script but I’m facing following error
$ gradle jacocoTestReport> Task :jacocoTestReportDeprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.Use '--warning-mode all' to show the individual deprecation warnings.See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
``` then i tried using '--warning-mode all'
gradle jacocoTestReport --warning-mode=all> Configure project :The JacocoReportBase.setClassDirectories(FileCollection) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Use getClassDirectories().from(...) at build_cyv4aqw024szpuohg9tt2g7bq_run_closure10$_closure15.doCall(/builds/OCGBU_OCSS/ossbrkr/cloud-broker/build.gradle:127) (Run with --stacktrace to get the full stack trace of this deprecation warning.)