I think that it can be fixed only using code gener...
# gradle
g
I think that it can be fixed only using code generation. Current syntax similar with groovy configs, but syntax based on something like
fun compile(dependency: String, type: String = null)
or for plugins
fun kapt(dependency: String, type: String = null)
looks better for me