capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

[Feature]: Grade DSL support (kotlin)

Open bosh-code opened this issue 2 years ago • 3 comments

Description

Move to Gradle DSL based build files for Android

Platforms

  • [ ] iOS
  • [X] Android
  • [ ] Web

Request or proposed solution

Gradle DSL has been the default for new Android apps for some time now: https://developer.android.com/build/migrate-to-kotlin-dsl#timeline

Moving to DSL will help to ensure capacitor apps are supported for as long as possible. I've been using it in a capacitor app in production for months now and it's been great.

I'm happy to do the work on this and PR the changes, but before I do, it would be good to know if it would be considered by the maintainers. It's not an insignificant change so I would understand if it's not up for consideration. From what I can see this would mostly be a change to the templates and making sure the migrations work fine. Is there anything else I'm missing?

Thanks

Alternatives

No response

Additional Information

No response

bosh-code avatar Feb 03 '24 11:02 bosh-code

Considering we are close to the final Capacitor 6 release and this kind of change would be a breaking change, I don't think it will be addressed short term, maybe for Capacitor 7. But adding the feature request label for tracking it internally.

jcesarmobile avatar Feb 05 '24 12:02 jcesarmobile

That makes sense, thanks @jcesarmobile. How will feature development work for future versions of Capacitor look after 6 is out: https://ionic.io/blog/introducing-a-new-capacitor-release-cadence

bosh-code avatar Feb 07 '24 18:02 bosh-code