licenser icon indicating copy to clipboard operation
licenser copied to clipboard

Gradle 8 deprecations

Open josephjthomas opened this issue 4 years ago • 3 comments

I built my project with Gradle 7.4 today and noticed the following warning for licenser:

Task :checkLicenseMain NO-SOURCE Relying on FileTrees for ignoring empty directories when using @SkipWhenEmpty has been deprecated. This is scheduled to be removed in Gradle 8.0. Annotate the property matchingFiles with @IgnoreEmptyDirectories or remove @SkipWhenEmpty. Consult the upgrading guide for further information: https://docs.gradle.org/7.4/userguide/upgrading_version_7.html#empty_directories_file_tree

I'm using licenser 0.6.1

josephjthomas avatar Feb 08 '22 15:02 josephjthomas

Gradle 8 is now released, would be great to have a release with the latest changes.

jpenilla avatar Feb 15 '23 20:02 jpenilla

Quite right. I'll take a stab at this at the weekend.

jamierocks avatar Feb 16 '23 00:02 jamierocks

New warning in 8.3:

The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at org.gradle.util.ConfigureUtil.logDeprecation(ConfigureUtil.java:215)
        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:148)
        at org.gradle.util.ConfigureUtil$configure.call(Unknown Source)
        at org.cadixdev.gradle.licenser.Licenser$_makeTask_closure13.doCall(Licenser.groovy:225)

jpenilla avatar Sep 09 '23 22:09 jpenilla