Skip to content

Conversation

@xz-dev
Copy link
Contributor

@xz-dev xz-dev commented Nov 19, 2025

  • Replace deprecated Project.exec() with ExecOperations
  • Inject ExecOperations in AndroidRustPlugin, RustBuildTask, and RustTestTask
  • Update RustInstaller functions to use ExecOperations
  • Upgrade Gradle wrapper to 9.2.1

This fixes the build failure with Gradle 9.x where Project.exec() method was removed. The plugin now properly uses the ExecOperations service which is the recommended approach in Gradle 9+.

- Replace deprecated Project.exec() with ExecOperations
- Inject ExecOperations in AndroidRustPlugin, RustBuildTask, and RustTestTask
- Update RustInstaller functions to use ExecOperations
- Upgrade Gradle wrapper to 9.2.1

This fixes the build failure with Gradle 9.x where Project.exec()
method was removed. The plugin now properly uses the ExecOperations
service which is the recommended approach in Gradle 9+.
@xz-dev
Copy link
Contributor Author

xz-dev commented Nov 19, 2025

Had tested both gradle 8/9

@xz-dev
Copy link
Contributor Author

xz-dev commented Nov 19, 2025

Closed, continue at #10

@xz-dev xz-dev closed this Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant