Skip to content

Commit

Permalink
Fix cargo relative path after gradle 8.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIMP committed Jan 29, 2025
1 parent f29b550 commit d36f79a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ tasks {

tasks.register("CompileZenohJNI") {
project.exec {
commandLine("cargo", "build", "--release", "--manifest-path", "./zenoh-jni/Cargo.toml")
commandLine("cargo", "build", "--release", "--manifest-path", "../zenoh-jni/Cargo.toml")
}
}
2 changes: 1 addition & 1 deletion zenoh-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fun buildZenohJNI(mode: BuildMode = BuildMode.DEBUG) {
}

val result = project.exec {
commandLine(*(cargoCommand.toTypedArray()), "--manifest-path", "./zenoh-jni/Cargo.toml")
commandLine(*(cargoCommand.toTypedArray()), "--manifest-path", "../zenoh-jni/Cargo.toml")
}

if (result.exitValue != 0) {
Expand Down

0 comments on commit d36f79a

Please sign in to comment.