Skip to content

Update the android example setup.#1007

Merged
timbotimbo merged 1 commit intojuicycleff:masterfrom
timbotimbo:android_example_upgrade
Mar 2, 2025
Merged

Update the android example setup.#1007
timbotimbo merged 1 commit intojuicycleff:masterfrom
timbotimbo:android_example_upgrade

Conversation

@timbotimbo2
Copy link
Copy Markdown
Contributor

Description

This PR updates the android setup for the example project.
Flutter create was used with Flutter 3.24.5 to create a more modern gradle configuration.
This changes gradle from the deprecated declarative apply syntax to the newer 'Plugin DSL syntax'.

The old configuration caused quite a few errors and isn't compatible with Flutter 3.29.

Because of the syntax change, this gradle setup requires a minimum Flutter version of 3.16.
I managed to get this config running with Flutter 3.16.9 up to 3.29.0.

I've made some small additional changes, like commenting flutter.sdkVersion variables. This is to get this example to work across more (older) Flutter versions.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@timbotimbo timbotimbo merged commit 99188df into juicycleff:master Mar 2, 2025
@timbotimbo timbotimbo deleted the android_example_upgrade branch August 4, 2025 12:20
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