I want to create a standalone Gradle plugin project as described in the Gradle documentation. I would like to use IntelliJ with code completion for Groovy and Gradle. Since ther
Go to a new, empty folder and type:
gradle init --type groovy-library
Then edit the generated build.gradle file and add:
compile gradleApi()
To the dependencies, and:
apply plugin: 'idea'
To the plugins near the top.
Then run:
./gradlew idea
And open the generated project in IntelliJ