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

abicelis

05/29/2019, 8:22 PM
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

itnoles

05/29/2019, 10:44 PM
It is unsupported on future versions of Android Studios too
g

gildor

05/29/2019, 11:28 PM
Yes, it's fine for now and there is no way to get rid of it, as I know
Also #gradle
a

abicelis

05/30/2019, 12:39 AM
Alright, thanks guys. I'll ignore it for now.
g

gildor

05/30/2019, 12:43 AM
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

abicelis

05/30/2019, 1:06 AM
Right. Yeah, I've stopped using AS's
Project structure
thing as it keeps breaking.
i

itnoles

05/30/2019, 2:30 AM
When I tried in the older version of AS with kts, I noticed AS was acting really slow to load it.
g

gildor

05/30/2019, 5:33 AM
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

itnoles

05/31/2019, 3:09 AM
I know