see https://github.com/spring-projects/spring-boot/pull/29762 see https://docs.gradle.org/7.0/userguide/task_configuration_avoidance.html

Comment From: larsgrefer

I've updated the PR based on your comments.

Comment From: wilkinsona

Thanks very much, @larsgrefer.