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+.
Copy link
Owner

@MatrixDev MatrixDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@MatrixDev MatrixDev merged commit 17ab999 into MatrixDev:main Nov 19, 2025
@MatrixDev
Copy link
Owner

@xz-dev, thank you for your contributions. these changes were very good.

Both of your pull requests have been included in the 0.5.0 release.

@xz-dev xz-dev deleted the feat/gradle9 branch November 20, 2025 00:58
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.

2 participants