what's the equivalent of this in kotlin ``` confi...
# gradle
x
what's the equivalent of this in kotlin
Copy code
configurations { driver }

dependencies { driver 'org.xerial:sqlite-jdbc:3.7.2' }`
e
Mechanically translated, string based:
Copy code
configurations { "driver"() }
dependencies { "driver"("org.xerial:sqlite-jdbc:3.7.2")}
Making it type safe:
Copy code
val driver = configurations.create("driver")
dependencies { driver("org.xerial:sqlite-jdbc:3.7.2")}
Which can be also expressed as:
Copy code
val driver by configurations.creating
dependencies { driver("org.xerial:sqlite-jdbc:3.7.2")}