mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
After the upgrade to Gradle 9.6.0/9.6.1, the Gradle build started emitting warnings due to use of deprecated APIs. For example, Project.getProperties() is now annotated as @Deprecated in Gradle 9.6 and will be removed in Gradle 10.0. To avoid the warnings, this commit modifies: - TestConventions to use `project.findProperty(...)` instead of `project.getProperties().get(...)` - framework-api.gradle to use `rootProject.ext.moduleProjects` instead of simply `moduleProjects` - framework-api.gradle and framework-bom.gradle to use `project(<projectX>)` instead of simply `<projectX>` - ide.gradle so that it no longer uses the deprecated `javaRuntimeName` See gh-36952
23 lines
421 B
Groovy
23 lines
421 B
Groovy
description = "Spring Framework (Bill of Materials)"
|
|
|
|
apply plugin: 'java-platform'
|
|
apply from: "$rootDir/gradle/publications.gradle"
|
|
|
|
group = "org.springframework"
|
|
|
|
dependencies {
|
|
constraints {
|
|
parent.moduleProjects.sort { "$it.name" }.each {
|
|
api project(it.path)
|
|
}
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
artifactId = 'spring-framework-bom'
|
|
from components.javaPlatform
|
|
}
|
|
}
|
|
} |