Hi, I have little problem with IntelliJ. I cannot get my project working. When I paste code from docs to my Gradle file. It just says: " ‘dependencies’ cannot be applied to ‘(groovy.lang.Closure)’ " I really want to start make plugins to Sponge when it’s released. And sorry for my bad english. =(
ok, so I wasn’t able to recreate the error. When you started you were in intellij then went to
File --> New --> Project ----> Then selected gradle correct. then went into the build.gradle. did you edit any thing in there
Make sure you are importing your module using the build.gradle file (File -> New -> Module from existing sources). It will cache the build script and generate the dependencies.
Add apply plugin: 'java' to the top. This is what will actually allow your build to compile your project.
In addition, move your source folders to src/main/java instead of src. If you don’t want that folder you can configure it, but sources are required to live there by default