File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
main/java/uk/co/real_logic/sbe/ir
test/java/uk/co/real_logic/sbe/xml Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ allprojects {
138
138
mavenCentral()
139
139
}
140
140
141
- configurations. all {
141
+ configurations. configureEach {
142
142
resolutionStrategy {
143
143
failOnVersionConflict()
144
144
}
@@ -166,18 +166,18 @@ subprojects {
166
166
167
167
checkstyle. toolVersion = " ${ checkstyleVersion} "
168
168
169
- tasks. withType(Sign ) {
169
+ tasks. withType(Sign ). configureEach {
170
170
onlyIf {
171
171
isReleaseVersion && gradle. taskGraph. hasTask(tasks. publish)
172
172
}
173
173
}
174
174
175
- tasks. withType(Jar ) {
175
+ tasks. withType(Jar ). configureEach {
176
176
enabled = true
177
177
includeEmptyDirs = false
178
178
}
179
179
180
- tasks. withType(JavaCompile ) {
180
+ tasks. withType(JavaCompile ). configureEach {
181
181
options. encoding = ' UTF-8'
182
182
options. deprecation = true
183
183
options. compilerArgs. addAll([' -Xlint:all' , ' -Werror' ]) // Enable all warnings and treat them as errors
Original file line number Diff line number Diff line change @@ -133,10 +133,10 @@ public static int findEndSignal(
133
133
}
134
134
135
135
/**
136
- * Find a list of sub-group names.
136
+ * Find a list of subgroup names.
137
137
*
138
138
* @param tokens to search.
139
- * @return list of names for the sub-groups .
139
+ * @return list of names for the subgroups .
140
140
*/
141
141
public static List <String > findSubGroupNames (final List <Token > tokens )
142
142
{
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ void shouldExitAfterTypesWhenCompositeOffsetsIncorrect() throws Exception
198
198
@ Test
199
199
void shouldExitAfterTypesWhenCompositeHasInvalidTypes () throws Exception
200
200
{
201
- try (InputStream in = Tests .getLocalResource ("error-handler-invalid-composite.xml" ); )
201
+ try (InputStream in = Tests .getLocalResource ("error-handler-invalid-composite.xml" ))
202
202
{
203
203
final ParserOptions options = ParserOptions .builder ().suppressOutput (true ).warningsFatal (true ).build ();
204
204
parse (in , options );
You can’t perform that action at this time.
0 commit comments