-
Notifications
You must be signed in to change notification settings - Fork 86
Description
In my team's workflow, cargo and rustc are made available directly via the project's own Git repository. Those binaries in the repo are actually wrapper scripts that internally download, install, and call into the real binaries. Thus, all users of the build should depend on the cargo and rustc within the project repo. There doesn't seem to be a good way to specify the paths to these tools for all users of the project today.
In the rust-android-gradle's README, the only way to specify the paths for these tools is via local.properties (which is not checked in, so it doesn't help here), an environment variable (which seems to not be controllable from within a build.gradle file), or on the gradle CLI (which would be cumbersome and break existing workflows).
Would it be possible to add a fallback to reading gradle.properties just before relying on $PATH?