File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,18 @@ updateDependenciesSettings {
102
102
selection. reject(" org.opensaml maintains two different versions, so it must be updated manually" );
103
103
}
104
104
}
105
+ components. withModule(" io.spring.javaformat:spring-javaformat-gradle-plugin" ) { selection ->
106
+ ModuleComponentIdentifier candidate = selection. getCandidate();
107
+ if (! candidate. getVersion(). equals(selection. getCurrentVersion())) {
108
+ selection. reject(" spring-javaformat-gradle-plugin updates break checkstyle" );
109
+ }
110
+ }
111
+ components. withModule(" io.spring.javaformat:spring-javaformat-checkstyle" ) { selection ->
112
+ ModuleComponentIdentifier candidate = selection. getCandidate();
113
+ if (! candidate. getVersion(). equals(selection. getCurrentVersion())) {
114
+ selection. reject(" spring-javaformat-checkstyle updates break checkstyle" );
115
+ }
116
+ }
105
117
}
106
118
}
107
119
}
You can’t perform that action at this time.
0 commit comments