Open devNamanG opened 3 months ago
Okay so I tried running the code on a project with Kotlin DSL files, and for some reason, it is not updating the those files, even though it does write google-services.json
. Can someone check this out as well? The existing plugin code seems to not even call the updated gradleContentUpdates
function. It would be really helpful if a maintainer checks this out, thank you!
… Kotlin DSL for Gradle #305
Description
Added support for updating
android/build.gradle.kts
,android/settings.gradle.kts
andandroid/app/build.gradle.kts
files. AddedRegExp
s, functions to handle Kotlin Gradle DSL files if Groovy Gradle DSL files are not found We assume that the project does not use a mix of Groovy and Kotlin DSL gradle files. We check whether theandroid/build.gradle
file exists or not. If it exists, the existing code handles updating the files. If it does not not exist, we proceed to check whetherandroid/build.gradle.kts
file exists. If it does, we use Kotlin DSL configuration. If both configuration files are not found, an Exception is thrown.Type of Change
feat
-- New feature (non-breaking change which adds functionality)fix
-- Bug fix (non-breaking change which fixes an issue)!
-- Breaking change (fix or feature that would cause existing functionality to change)refactor
-- Code refactorci
-- Build configuration changedocs
-- Documentationchore
-- Chore