In gradle `kotlin-dsl` plugin, how to force the compiler to use a kotlin version?
In a gradle file, I use the following declaration:
In gradle `kotlin-dsl` plugin, how to force the compiler to use a kotlin version?
In a gradle file, I use the following declaration:
In gradle `kotlin-dsl` plugin, how to force the compiler to use a kotlin version?
In a gradle file, I use the following declaration:
How to properly use a variable defined on file level in a task´s `doLast` block with Gradle Kotlin DSL?
Let’s say you have variable defined on top file level of build.gradle.kts
script and want to use it in a doLast
block of a task, as in the example below.
What’s the right way to do that?
Not able to see gradle.kts code properly in Android Studio
i´m new in gradle in kotlin and I´m developing a simple Task in kotlin. It works just fine, but i´m not able to see this file in a “pretty” way. Meaning that Android Studio is not just showing the code like other files.