You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a Quarkus project with Gradle 8.11 and upwards, Gradle reports many deprecation warnings that look something like this:
Calling extendsFrom on configuration ':service-event-collector:detachedConfiguration7' has been deprecated. This will fail with an error in Gradle 9.0. Detached configurations should not extend other configurations, this was extending: 'quarkusDevRuntimeClasspathConfigurationPlatform'. Consult the upgrading guide for further information: https://docs.gradle.org/8.11.1/userguide/upgrading_version_8.html#detached_configurations_cannot_extend
Going through the logs, I get warnings for extending from the following:
There was an attempt to fix this once in #41329, but it had to be reverted due to #41825. Starting with Gradle 8.11, this issue is a bit more obvious (or annoying) because the deprecation message is now always printed to the console AFAIK.
Expected behavior
No deprecation messages when building a project with the latest Gradle tooling.
Actual behavior
The above deprecation messages. Note that with Gradle 8.11 and onwards, you will just get a summary by default, stating
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
To see all the warnings, you must either pass --warning-mode all to the Gradle wrapper CLI, or set org.gradle.warning.mode=all in the Gradle properties.
quarkus create app org.acme:getting-started --extension='rest' --gradle
cd getting-started
./gradlew --gradle-version latest
./gradlew build
# ...
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
Output of uname -a or ver
Darwin MacBookPro 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 arm64
Output of java -version
openjdk version "21" 2023-09-19 OpenJDK Runtime Environment Zulu21.28+85-CA (build 21+35) OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing)
Quarkus version or git rev
3.16.4
Build tool (ie. output of mvnw --version or gradlew --version)
Gradle 8.11.1
Additional information
You can use '--warning-mode all' to show the individual deprecation warnings
The text was updated successfully, but these errors were encountered:
Describe the bug
When building a Quarkus project with Gradle 8.11 and upwards, Gradle reports many deprecation warnings that look something like this:
Going through the logs, I get warnings for extending from the following:
There was an attempt to fix this once in #41329, but it had to be reverted due to #41825. Starting with Gradle 8.11, this issue is a bit more obvious (or annoying) because the deprecation message is now always printed to the console AFAIK.
Expected behavior
No deprecation messages when building a project with the latest Gradle tooling.
Actual behavior
The above deprecation messages. Note that with Gradle 8.11 and onwards, you will just get a summary by default, stating
To see all the warnings, you must either pass
--warning-mode all
to the Gradle wrapper CLI, or setorg.gradle.warning.mode=all
in the Gradle properties.How to Reproduce?
Reproducer: @amaechler
Steps to reproduce:
Output of
uname -a
orver
Darwin MacBookPro 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 arm64
Output of
java -version
openjdk version "21" 2023-09-19 OpenJDK Runtime Environment Zulu21.28+85-CA (build 21+35) OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing)
Quarkus version or git rev
3.16.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.11.1
Additional information
The text was updated successfully, but these errors were encountered: