Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gradle: Fix
merge*JniLibFolders
dependency on cargoBuild*
task
mozilla/rust-android-gradle#118 (comment) Observations: - The relevant task is called `cargoBuildArm64`, but it's ran as an intermediate dependency of `cargoBuild`; - `buildDir.resolve()` doesn't exist (deprecated? It's not in the Java 21 docs), but the sub-path `new File()` constructor does; - `it.toolchain` on `com.nishtahir.CargoBuildTask` is `null` outside of `project.afterEvaluate`; - Using purely typed `withType` queries allows one to write the expression without hardcoded task names, and automatically link all relevant tasks together.
- Loading branch information