The Gradle settings are not accessible with the latest SDK (35).
(I have not confirmed this behavior with other SDK versions.)
This issue was discussed in the following thread:
https://stackoverflow.com/questions/77781622/unresolved-reference-lifecycle-version-developer-android-com-codelabs