https://kotlinlang.org logo
#android
Title
# android
i

itnoles

03/01/2019, 4:11 PM
One Android Engineers said "We do not recommend switching to build.gradle.kts yet"
🤔 1
g

ghedeon

03/01/2019, 4:43 PM
#kotlin_dsl. But yes, it's not officially supported by AS, so at your own risk.
l

louiscad

03/01/2019, 5:23 PM
Yes, but I did anyway. It has been hard, but I now understand all my build scripts and can build upon, so it's been worth it.
i

itnoles

03/01/2019, 5:28 PM
I don't think AS able to detect a new library versions from the Kotlin Script
l

louiscad

03/01/2019, 5:33 PM
It can highlight outdated AGP but not edit it yet. For libraries, I put them in buildSrc, so doesn't have much chances to catch old versions.
j

Jonas Bark

03/01/2019, 6:40 PM
@louiscad... unless you use something like https://github.com/jmfayard/buildSrcVersions
l

louiscad

03/01/2019, 6:44 PM
Of course
g

ghedeon

03/01/2019, 6:53 PM
I remember it being slower overall plus some bugs about exessive project synchronizations in AS 3.1.2. Maybe it improved.
g

GarouDan

03/02/2019, 11:19 AM
I’m using only build.gradle.kts for now, it was a little hard to convert some build.gradle excerpts but now, as Louis said, I think we can go a lot of further since we understand how kotlin works