Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android plugins support #101

Merged
merged 37 commits into from
Jul 13, 2022
Merged

Add Android plugins support #101

merged 37 commits into from
Jul 13, 2022

Conversation

enfipy
Copy link
Collaborator

@enfipy enfipy commented Jul 8, 2022

Objective

Adds initial Gradle Plugins support alongside Google AdMob Plugin. This will help developers create custom Android plugins with Rust wrapper to use Android features much more easily.

  • Change creation of new Gradle project with help of RustEmbed and :app.
  • Create extern methods to make it possible to talk from Java/Kotlin to Rust.
  • Create JniSingleton structures to make it possible to call Plugin methods from Rust.
  • Create Rust wrapper around extern Java methods.
  • Add AdMobPlugin Android wrapper.
  • Add AdMobPlugin Rust wrapper.
  • Make it possible to specify the local Gradle Dependency Project in Cargo.toml.
  • Provide an example of usage AdMobPlugin in a simple Macroquad project.
  • Publish Crossbow Gradle project to Maven repository.
  • Publish AdMobPlugin to the Maven repository.
  • Update Docker image, add Gradle to it.

@enfipy enfipy self-assigned this Jul 10, 2022
@enfipy enfipy added the high priority High priority task label Jul 10, 2022
@enfipy enfipy linked an issue Jul 10, 2022 that may be closed by this pull request
@enfipy enfipy requested a review from Heezay July 10, 2022 12:03
@enfipy enfipy linked an issue Jul 10, 2022 that may be closed by this pull request
@enfipy enfipy linked an issue Jul 10, 2022 that may be closed by this pull request
@enfipy enfipy linked an issue Jul 11, 2022 that may be closed by this pull request
@enfipy enfipy requested a review from Adoka3710 July 13, 2022 10:20
@enfipy enfipy merged commit 84981c9 into main Jul 13, 2022
@enfipy enfipy deleted the add-plugin-support branch July 13, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority High priority task
Projects
None yet
2 participants