This PR migrates Gradle build scripts from Groovy to Kotlin syntax.
Build files structure was reworked and dependencies were extracted in a new buildSrc directory structure.
Content was a manual rewrite from the old ios-cocoapods branch as well as the actual content of the now deleted build.gradle files.
A good source found towards the end of the process that would have helped some
https://proandroiddev.com/gradle-groovy-to-kotlin-dsl-in-15-minutes-d3129aff227e
There was an issue on Mac but it was due to having opened the Android module directory within Android Studio instead of the root KMM folder. Lesson learned.
Expected behavior:
No behavior change: the Android module should build end deploy exactly as before
Please make sure these boxes are checked before submitting your pull request - thanks!
- [ ] Run the unit tests with gradle test to make sure you didn't break anything
[ ] Format the title like "Fix # - " (for example - "Fix #1111 - Check for null value before using field")
[ ] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)
Summary:
This PR migrates Gradle build scripts from Groovy to Kotlin syntax. Build files structure was reworked and dependencies were extracted in a new
buildSrc
directory structure. Content was a manual rewrite from the oldios-cocoapods
branch as well as the actual content of the now deletedbuild.gradle
files. A good source found towards the end of the process that would have helped some https://proandroiddev.com/gradle-groovy-to-kotlin-dsl-in-15-minutes-d3129aff227eThere was an issue on Mac but it was due to having opened the Android module directory within Android Studio instead of the root KMM folder. Lesson learned.
Expected behavior:
No behavior change: the Android module should build end deploy exactly as before
Please make sure these boxes are checked before submitting your pull request - thanks!
- [ ] Run the unit tests withgradle test
to make sure you didn't break anything