I've got a new-mpp project using kotlin-dsl at
https://github.com/kyonifer/koma/blob/master/build.gradle.kts that might be useful to look at. it works reasonably well on the latest EAP for 1.3.20, not so well on anything before that. I've tried to document the workarounds and link to issues for the rough edges.