Search code examples
androidandroid-studiogradle-kotlin-dsl

Gradle KTS Build Files


Google released an updated version of Android Studio 3.5. After having updated to this version I get this warning below:

This project uses Gradle KTS build files which are not fully supported. 
Some functions may be affected.

However, I believe this warning is restricted to developers who are using the Gradle’s Kotlin DSL to manage their dependencies. Instead of using groovy scripts.


Solution

  • Now android studio 4.0 is officially Support for Kotlin DSL script files(*.kts) so you need to update it and see the warning removed from your Event Log.

    you can check below image and read from it official Document

    Remove Warning