gradle-dependencies-sorter
gradle-dependencies-sorter copied to clipboard
Feature request: support kotlin DSL stringy configuration syntax
Kotlin DSL allows you to invoke via strings like this. It's a terrible API, but it's legal none-the-less
dependencies {
"implementation"(libs.moshi)
}
Thanks for the issue. I agree this is a valid use-case.
just noting there's a workaround for .kts by using add:
dependencies {
// instead of this...
"config"(dependency)
// ...do this
add("config", dependency)
}