Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle 8 deprecations #39

Open
josephjthomas opened this issue Feb 8, 2022 · 3 comments
Open

Gradle 8 deprecations #39

josephjthomas opened this issue Feb 8, 2022 · 3 comments

Comments

@josephjthomas
Copy link

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

@jpenilla
Copy link
Contributor

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

@jamierocks
Copy link
Member

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

@jpenilla
Copy link
Contributor

jpenilla commented Sep 9, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants