@@ -185,11 +185,11 @@ project(':sbe-tool') {
185
185
jar {
186
186
manifest. attributes(
187
187
' Main-Class' : ' uk.co.real_logic.sbe.SbeTool' ,
188
- ' Specification-Title' : ' Simple Binary Encoding' ,
189
- ' Specification-Version' : ' 1.0' ,
190
- ' Implementation-Title' : ' SBE' ,
191
- ' Implementation-Version' : " ${ sbeVersion} " ,
192
- ' Implementation-Vendor' : ' Real Logic Limited'
188
+ ' Specification-Title' : ' Simple Binary Encoding' ,
189
+ ' Specification-Version' : ' 1.0' ,
190
+ ' Implementation-Title' : ' SBE' ,
191
+ ' Implementation-Version' : " ${ sbeVersion} " ,
192
+ ' Implementation-Vendor' : ' Real Logic Limited'
193
193
)
194
194
}
195
195
@@ -278,11 +278,11 @@ project(':sbe-all') {
278
278
classifier = ' '
279
279
manifest. attributes(
280
280
' Main-Class' : ' uk.co.real_logic.sbe.SbeTool' ,
281
- ' Specification-Title' : ' Simple Binary Encoding' ,
282
- ' Specification-Version' : ' 1.0' ,
283
- ' Implementation-Title' : ' SBE' ,
284
- ' Implementation-Version' : " ${ sbeVersion} " ,
285
- ' Implementation-Vendor' : ' Real Logic Limited' )
281
+ ' Specification-Title' : ' Simple Binary Encoding' ,
282
+ ' Specification-Version' : ' 1.0' ,
283
+ ' Implementation-Title' : ' SBE' ,
284
+ ' Implementation-Version' : " ${ sbeVersion} " ,
285
+ ' Implementation-Vendor' : ' Real Logic Limited' )
286
286
}
287
287
288
288
uploadArchives {
@@ -531,15 +531,12 @@ task runRustCarExample(type: Exec) {
531
531
def cargo_exists () {
532
532
try {
533
533
def result = project. exec {
534
- executable ' cargo'
535
- args ' -v'
536
- standardOutput = new ByteArrayOutputStream ()
537
- errorOutput = new ByteArrayOutputStream ()
534
+ executable = ' cargo'
535
+ args = ' -v'
538
536
}
539
537
return result. exitValue == 0
540
538
}
541
- catch (Exception ignore)
542
- {
539
+ catch (Exception ignore) {
543
540
return false
544
541
}
545
542
}
0 commit comments