1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Use Gradle's Version Catalog

Issue gh-13868
This commit is contained in:
Marcus Da Coregio
2023-09-27 15:42:42 -03:00
parent 664ee9a206
commit e29ea47ff7
10 changed files with 233 additions and 100 deletions
+7
View File
@@ -31,6 +31,13 @@ dependencies {
}
def generateAttributes() {
def springFrameworkVersion = libs.org.springframework.spring.framework.bom.get().versionConstraint.displayName
springFrameworkVersion = springFrameworkVersion.contains("-")
? springFrameworkVersion.substring(0, springFrameworkVersion.indexOf("-"))
: springFrameworkVersion
def springBootVersion = project.property("springBootVersion")
def samplesBranch = project.property("samplesBranch")
def docsTag = snapshotBuild ? 'current' : project.version
def ghTag = snapshotBuild ? 'main' : project.version
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"