Hey community, I've been trying to update my Gradl...
# android
a
Hey community, I've been trying to update my Gradle
build
and
settings
files to KotlinDSL (Mainly following this guide: https://antonioleiva.com/kotlin-dsl-gradle/) which recommends using a buildSrc Gradle module. Everything seems to be working and gradle builds fine, however, I'm getting this warning:
Copy code
WARNING: Unsupported Kotlin plugin version.
The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `1.3.11` that might work differently than in the requested version `1.3.31`.
i
It is unsupported on future versions of Android Studios too
g
Yes, it's fine for now and there is no way to get rid of it, as I know
Also #gradle
a
Alright, thanks guys. I'll ignore it for now.
g
It is unsupported on future versions of Android Studios too
AS of course supports Kotlin DSL, because it abstracted by Gradle tooling API, new versions of AS just warn that not all features of AS will work with kts, and it only about features that analyze or modify gradle config files (which never work properly for me with Groovy as well) And it’s not something new, now they just notify users
a
Right. Yeah, I've stopped using AS's
Project structure
thing as it keeps breaking.
i
When I tried in the older version of AS with kts, I noticed AS was acting really slow to load it.
g
It is, now it’s much better, AS updated to new IDEA, Kotlin DSL is improved. But to be honest “is unsupported on future versions of Android Studios” is not the same as “AS was acting really slow to load it.”
i
I know