The Provider.forUseAtConfigurationTime method has been deprecated. This is scheduled to be removed in Gradle 9.0. Simply remove the call. Consult the upgrading guide for further information: https://docs.gradle.org/8.4-rc-1/userguide/upgrading_version_7.html#for_use_at_configuration_time_deprecation
From the upgrading guide:
Starting with version 7.4 Gradle will implicitly treat an external value used at configuration time as a configuration cache input.
We support Gradle 7.3 and earlier so we cannot "simply remove the call". Instead, we'll have to call it conditionally, depending on the version of Gradle that's in use.
Comment From: wilkinsona
When merging forwards to 3.0.x we can remove the call as the minimum supported version of Gradle in that branch is 7.5.