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
Running ./gradlew build --warning-mode all gives us the output below. We should remove those deprecations warnings by applying the suggested upgrade to allow a smooth migration to newest versions of Gradle.
Gradle Enterprise plugin 3.12.3 has been deprecated. Starting with Gradle 9.0, only Gradle Enterprise plugin 3.13.1 or newer is supported. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#unsupported_ge_plugin_3.13
The BuildIdentifier.getName() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Use getBuildPath() to get a unique identifier for the build. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#build_identifier_name_and_current_deprecation
> Configure project :buildSrc
Calling configuration method 'attributes(Action)' is deprecated for configuration 'apolloMetadata', which has permitted usage(s):
Declarable - this configuration can have dependencies added to it
This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Consumable, Resolvable'. This behavior has been deprecated. This behavior 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#deprecated_configuration_usage
Build file '/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/buildSrc/build.gradle': line 8
The org.gradle.api.plugins.JavaPluginConvention 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#java_convention_deprecation
at build_3qfsjj7pyzyz71l63kjqkbxv5.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/buildSrc/build.gradle:8)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/buildSrc/build.gradle': line 8
The org.gradle.api.plugins.Convention 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#deprecated_access_to_conventions
at build_3qfsjj7pyzyz71l63kjqkbxv5.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/buildSrc/build.gradle:8)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The Project.getConvention() method 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#deprecated_access_to_conventions
The org.gradle.api.plugins.Convention 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#deprecated_access_to_conventions
The org.gradle.api.plugins.JavaPluginConvention 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#java_convention_deprecation
The ProjectComponentSelector.getBuildName() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Use getBuildPath() to get a unique identifier for the build. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#build_identifier_name_and_current_deprecation
> 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.3/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
at build_2k5ogzxn36czna25r6zisar70.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/build.gradle:20)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-config
The resolvable usage is already allowed on configuration ':spring-security-config:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_config_64b3bs2bz883nhh5332kh9eu2.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/config/spring-security-config.gradle:5)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-core
Build file '/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/core/spring-security-core.gradle': line 39
The WriteProperties.outputFile property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the destinationFile property instead. For more information, please refer to https://docs.gradle.org/8.3/dsl/org.gradle.api.tasks.WriteProperties.html#org.gradle.api.tasks.WriteProperties:outputFile in the Gradle documentation.
at spring_security_core_14g9ia5l9tdocx2jozjjslysq$_run_closure2.doCall(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/core/spring-security-core.gradle:39)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
at spring_security_core_14g9ia5l9tdocx2jozjjslysq.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/core/spring-security-core.gradle:38)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-context
The resolvable usage is already allowed on configuration ':spring-security-itest-context:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_context_5qqcli1xmwgcktvffv0sn0ugd.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/context/spring-security-itest-context.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-ldap-embedded-apacheds-default
The resolvable usage is already allowed on configuration ':spring-security-itest-ldap-embedded-apacheds-default:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_ldap_emb_e0nb6zbuaq7k8he678yl5sor3.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/ldap/embedded-ldap-apacheds-default/spring-security-itest-ldap-embedded-apacheds-default.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-ldap-embedded-mode-apacheds
The resolvable usage is already allowed on configuration ':spring-security-itest-ldap-embedded-mode-apacheds:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_ldap_emb_6shw9sqc1n0jx8lhtj08jo4ez.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/ldap/embedded-ldap-mode-apacheds/spring-security-itest-ldap-embedded-mode-apacheds.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-ldap-embedded-mode-unboundid
The resolvable usage is already allowed on configuration ':spring-security-itest-ldap-embedded-mode-unboundid:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_ldap_emb_e132nyy797eaemsy035adi8hf.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/ldap/embedded-ldap-mode-unboundid/spring-security-itest-ldap-embedded-mode-unboundid.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-ldap-embedded-none
The resolvable usage is already allowed on configuration ':spring-security-itest-ldap-embedded-none:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_ldap_emb_aigk1rp9cls7zn1tjk55uwcea.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/ldap/embedded-ldap-none/spring-security-itest-ldap-embedded-none.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-ldap-embedded-unboundid-default
The resolvable usage is already allowed on configuration ':spring-security-itest-ldap-embedded-unboundid-default:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_ldap_emb_cf7dw7s47m66k30qtmkl9xfwn.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/ldap/embedded-ldap-unboundid-default/spring-security-itest-ldap-embedded-unboundid-default.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-itest-web
The resolvable usage is already allowed on configuration ':spring-security-itest-web:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_itest_web_etfwh2aa7132mpuboyaqx250y.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/itest/web/spring-security-itest-web.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :spring-security-ldap
The resolvable usage is already allowed on configuration ':spring-security-ldap:integrationTestCompileClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#redundant_configuration_usage_activation
at spring_security_ldap_38jb60r47b0j4q6nvq7ofkd88.run(/Users/mhertdacoreg/workdir/spring-projects/spring-security/main/ldap/spring-security-ldap.gradle:1)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The text was updated successfully, but these errors were encountered:
Closing as most of the deprecation warnings have been fixed, the remaining ones are from plugins outside Spring Security control. Individual tasks should be opened for each of them.
Running
./gradlew build --warning-mode all
gives us the output below. We should remove those deprecations warnings by applying the suggested upgrade to allow a smooth migration to newest versions of Gradle.The text was updated successfully, but these errors were encountered: