Gradle with Kotlin-DSL: "generate" does not list add maven-dependency option

Answered

I am trying to learn Gradle with Kotlin-DSL and have created a multi-module project. In Intellij Idea I dont see any "add maven-dependency option" in the generate pop-up (in fact, I only get a copyright option).  The option is however available with Groovy DSL.

Is Kotlin-DSL not yet supported in Intellij Idea?

 

My configurations:

  • Intellij Idea 2018.3 on Ubuntu 18.10
  • Gradle 5.0 locally installed.
0

Please sign in to leave a comment.