The one I struggle with, is the old repo I tried to add springboot and I couldn't make it work. The one that works, was to create a new repo with gradle7.3/java8/springboot2.7.0 and just move the src/main and src/test on the old repo. The build.gradle I need still to add the jcenter() not just mavenCentral() or else the old codes will not work with the dependency.