diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 9da8b23fe4c5..26db17f1bbb6 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -299,7 +299,7 @@ tasks.register("generateRelayList") { onlyIf { isReleaseBuild() || !relayListPath.exists() } - commandLine("cargo", "run", "--bin", "relay_list") + commandLine("cargo", "run", "-p", "mullvad-api", "--bin", "relay_list") doLast { val output = standardOutput as ByteArrayOutputStream diff --git a/build.sh b/build.sh index 7d2bce9d511e..fd73914c9742 100755 --- a/build.sh +++ b/build.sh @@ -361,7 +361,7 @@ else fi log_info "Updating relays.json..." -cargo run --bin relay_list "${CARGO_ARGS[@]}" > build/relays.json +cargo run -p mullvad-api --bin relay_list "${CARGO_ARGS[@]}" > build/relays.json log_header "Installing JavaScript dependencies"