Skip to content

Commit 1fb31b4

Browse files
fix: update relative cargo.toml path (#174)
* fix: update relative cargo.toml path * fix: update examples
1 parent 7b2bbfa commit 1fb31b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ tasks {
6565

6666
tasks.register("CompileZenohJNI") {
6767
project.exec {
68-
commandLine("cargo", "build", "--release", "--manifest-path", "../zenoh-jni/Cargo.toml")
68+
commandLine("cargo", "build", "--release", "--manifest-path", "./zenoh-jni/Cargo.toml")
6969
}
7070
}

zenoh-java/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ fun buildZenohJNI(mode: BuildMode = BuildMode.DEBUG) {
204204
}
205205

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

210210
if (result.exitValue != 0) {

0 commit comments

Comments
 (0)