by macromagnon · 6y ago · 0 comments
I've been working on an android app and use gradle with the kotlin dsl. I haven't really done any programming with the build steps but this is pretty sexy and doesn't need three open/close tags every plugin.
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation("com.google.android.material:material:1.2.0")
Gradle used to use groovy dsl, but with kotlin the syntax is more consistent and auto complete is actually useful.The problem with Gradle is that it's flexibility is... dangerous and without some constraint can quickly lead to a lot of pain.