You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4b2ec52
Browse filesBrowse the repository at this point in the historyBrowse files
USPR-13800: fix CI wiring for verifySpringExpressionVersion and dedupe version constant
Wire verifySpringExpressionVersion into the `test` task (in addition to
`check`) so it actually executes as part of this repo's CI, which invokes
`test` directly rather than the `check` lifecycle task. Also extract the
7.0.8 floor into a single local variable within build.gradle to avoid
duplicating the version literal across the resolutionStrategy block and
the verification task.
if (dep instanceoforg.gradle.api.artifacts.result.ResolvedDependencyResult) {
133
135
def id = dep.selected.moduleVersion
134
136
if (id !=null&& id.group =='org.springframework'&& id.name =='spring-expression'
135
-
&& id.version <'7.0.8') {
136
-
thrownewGradleException("org.springframework:spring-expression resolved to ${id.version} in configuration ${config.name}, but must be >= 7.0.8 (GHSA-r5w3-xv2f-j59q)")
137
+
&& id.version <springExpressionMinVersion) {
138
+
thrownewGradleException("org.springframework:spring-expression resolved to ${id.version} in configuration ${config.name}, but must be >= ${springExpressionMinVersion} (GHSA-r5w3-xv2f-j59q)")
0 commit comments