@@ -19,7 +19,6 @@ apply plugin: 'locks'
19
19
apply plugin : ' s101'
20
20
apply plugin : ' io.spring.convention.root'
21
21
apply plugin : ' org.jetbrains.kotlin.jvm'
22
- apply plugin : ' org.springframework.security.update-dependencies'
23
22
apply plugin : ' org.springframework.security.update-version'
24
23
apply plugin : ' org.springframework.security.sagan'
25
24
apply plugin : ' org.springframework.github.milestone'
@@ -86,58 +85,6 @@ tasks.named("dispatchGitHubWorkflow") {
86
85
}
87
86
}
88
87
89
- tasks. named(" updateDependencies" ) {
90
- // we aren't Gradle 7 compatible yet
91
- checkForGradleUpdate = false
92
- }
93
-
94
- updateDependenciesSettings {
95
- gitHub {
96
- organization = " spring-projects"
97
- repository = " spring-security"
98
- }
99
- addFiles({
100
- return [
101
- project. file(" buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy" )
102
- ]
103
- })
104
- dependencyExcludes {
105
- majorVersionBump()
106
- minorVersionBump()
107
- releaseCandidatesVersions()
108
- alphaBetaVersions()
109
- snapshotVersions()
110
- addRule { components ->
111
- components. withModule(" org.python:jython" ) { selection ->
112
- ModuleComponentIdentifier candidate = selection. getCandidate();
113
- if (! candidate. getVersion(). equals(selection. getCurrentVersion())) {
114
- selection. reject(" jython updates break integration tests" );
115
- }
116
- }
117
- components. withModule(" com.nimbusds:nimbus-jose-jwt" ) { selection ->
118
- ModuleComponentIdentifier candidate = selection. getCandidate();
119
- if (! candidate. getVersion(). equals(selection. getCurrentVersion())) {
120
- selection. reject(" nimbus-jose-jwt gets updated when oauth2-oidc-sdk is updated to ensure consistency" );
121
- }
122
- }
123
- components. withModule(" io.mockk:mockk" ) { selection ->
124
- ModuleComponentIdentifier candidate = selection. getCandidate();
125
- if (! candidate. getVersion(). equals(selection. getCurrentVersion())) {
126
- selection. reject(" mockk updates break tests" );
127
- }
128
- }
129
- components. all { selection ->
130
- ModuleComponentIdentifier candidate = selection. getCandidate();
131
- // Do not compare version due to multiple versions existing
132
- // will cause opensaml 3.x to be updated to 4.x
133
- if (candidate. getGroup(). equals(" org.opensaml" )) {
134
- selection. reject(" org.opensaml maintains two different versions, so it must be updated manually" );
135
- }
136
- }
137
- }
138
- }
139
- }
140
-
141
88
subprojects {
142
89
plugins. withType(JavaPlugin ) {
143
90
project. sourceCompatibility= ' 1.8'
0 commit comments