Closed qeeqez closed 3 months ago
Thx for a PR. We just went through full overhaul of a gradle build so location of these versions changed. I'll handle this myself a bit later.
@jvalkeal Hi, I see you are trying to bump gradle to the latest one. I want to help a little 🙂
To avoid all gradle deprecation warnings you need:
java {} block for the sourceCompatibility line, see eb71d7b
SourceSetContainer sourceSets = project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets();
SourceSet mainSourceSet = sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME);
p.s. now it fails to build, as java plugin is not recognized in the buildSrc project, something wrong with dependencies
Junit must be called with testRuntimeOnly according to Gradle Docs:
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
If you'll use "spring java format" plugin (other spring projects have it), use latest 0.0.41
Upgrade Enterprise Gradle Plugin
Bumps
Compatibility
Based on commits in spring-framework repo, internally spring team should support latest Gradle Enterprise plugin: