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 Deprecation Warning for ConfigureUtil #900

Closed
ArvinB opened this issue Aug 22, 2024 · 4 comments
Closed

Gradle Deprecation Warning for ConfigureUtil #900

ArvinB opened this issue Aug 22, 2024 · 4 comments
Assignees

Comments

@ArvinB
Copy link

ArvinB commented Aug 22, 2024

The OpenLiberty Gradle plugin is throwing a deprecation warning for the use of ConfigureUtil located here. More information on how to correct this is here.

Deprecation Warning from Gradle:

> Configure project :
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.9/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at build_f5brw61kq6jdqi9ls2l1po8ur$_run_closure8.doCall$original(/Users/cakasky/Documents/GitHub/wca-code-explanation/build.gradle:125)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_f5brw61kq6jdqi9ls2l1po8ur.run(/Users/cakasky/Documents/GitHub/wca-code-explanation/build.gradle:124)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

From build.gradle

liberty {
    server {
        name = project.server.name
        deploy.apps = [war]
        configDirectory = file("src/main/liberty/config")
        mergeServerEnv = true
    }
}

Related issue:
#868

@ArvinB
Copy link
Author

ArvinB commented Sep 23, 2024

@cherylking Can I assume this is resolved with the latest plugin?

@cherylking
Copy link
Member

It will be when we publish the next release @ArvinB

@cherylking
Copy link
Member

Targeting end of next week to publish the next release 3.9.

@cherylking
Copy link
Member

This is fixed in 3.9.1 release that was published yesterday.

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