Add UpdateDependencies Plugin
Closes gh-2343
This commit is contained in:
19
build.gradle
19
build.gradle
@@ -25,6 +25,7 @@ buildscript {
|
||||
}
|
||||
|
||||
apply plugin: 'io.spring.convention.root'
|
||||
apply plugin: 'org.springframework.security.update-dependencies'
|
||||
|
||||
group = 'org.springframework.session'
|
||||
description = 'Spring Session'
|
||||
@@ -46,3 +47,21 @@ nohttp {
|
||||
source.exclude "spring-session-docs/.gradle/nodejs/**"
|
||||
source.exclude "spring-session-docs/modules/ROOT/examples/**/build/**"
|
||||
}
|
||||
|
||||
updateDependenciesSettings {
|
||||
gitHub {
|
||||
organization = "spring-projects"
|
||||
repository = "spring-session"
|
||||
}
|
||||
dependencyExcludes {
|
||||
majorVersionBump()
|
||||
minorVersionBump()
|
||||
alphaBetaVersions()
|
||||
snapshotVersions()
|
||||
}
|
||||
addFiles({
|
||||
return [
|
||||
project.file("gradle/dependency-management.gradle")
|
||||
]
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user