Skip to content

Commit dd9f6d4

Browse files
committed
[Java]: added property sbe.skipRust conditional to avoid running Rust integration tests. For aeron-io#524.
1 parent 4fc2823 commit dd9f6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,10 @@ def cargo_exists() {
545545
}
546546
}
547547

548-
if (cargo_exists()) {
548+
if (cargo_exists() && !project.hasProperty('sbe.skipRust')) {
549549
test.dependsOn('runRustCarExample')
550550
} else {
551-
println 'Skipping Rust integration test due to absent cargo command'
551+
println 'Skipping Rust integration test due to absent cargo command or sbe.skipRust property'
552552
}
553553

554554
task generateRustCodecs {

0 commit comments

Comments
 (0)