Im just starting to migrate from groovy to kts for...
# gradle
t
Im just starting to migrate from groovy to kts for my android projects i have an issue converting this
configureEach
to kts though 😞 can anyone give me some pointers please?
flavorDimensions += "default"
productFlavors {
configureEach {
buildConfigField "String", "MY_APPLICATION_MOBILE_CLICK", '"<https://www.myapplication.com/MobileClick/>"'
buildConfigField "String", "MY_APPLICATION_USER_PROFILE", '"/user/profile/personal"'
buildConfigField "String", "MY_APPLICATION_USER_PROFILE_NOTIFICATIONS", '"/User/Profile/notifications"'
buildConfigField "String", "MY_APPLICATION_CONTENT_C_URL", '"<https://www.myapplication.com/c/>"'
buildConfigField "String", "MY_APPLICATION_PRIVACY_POLICY", '"<https://www.myorganisation.com/legal/privacy-policy>"'
buildConfigField "String", "MY_APPLICATION_TERMS_CONDITIONS", '"<https://www.myorganisation.com/legal/myorganisation-website-terms-and-conditions>"'
buildConfigField "String", "MY_APPLICATION_SUPPORT", '"<https://service.myorganisation.com/app/home/supporthub/practice-update/>"'
buildConfigField "String", "MY_APPLICATION_MOBILE_ADVERT_URL", '"<https://www.myapplication.com/mobilead/>"'
}
development {
dimension 'default'
}
staging {
dimension 'default'
}
production {
dimension 'default'
}
}