> Could not create task ':bootJar'.
> Could not get unknown property 'org' for task ':bootJar' of type org.springframework.boot.gradle.tasks.bundling.BootJar.
I guess the problem is that it is a reference to class that is not known at that point in time. Is there an easy solution for that?
Somehow your suggestion lead me into the right direction. I remember trying to add org.springframework.boot:spring-boot-gradle-plugin:3.2.5 to buildSrc/build.gradle before, which just messed everything up.