Hi how are you I want migrate my gradle to kts whe...
# android
s
Hi how are you I want migrate my gradle to kts when rename file gradle to extenstion kts it shows this error anyony know how to solve this ? I tried found solution on google and stackOverFlow
c
You cannot just rename it. Kotlin has different syntax than groovy. I.e on the bottom I can see include ':app' Which in Kotlin should be include(„:app“) So a function call and the string in double quotes.
s
oh it works thank you
j
@salman You can check https://github.com/android/nowinandroid and use it as a reference