I am trying to set up Eclipse to start working on making a plugin. I follow the tutorial at https://docs.spongepowered.org/en/plugin/workspace/eclipse.html up until the point where it says “Right-click your project, and select Gradle > Refresh Dependencies.” When I do this, I get an this error:
What went wrong:
A problem occurred evaluating root project ‘Plugins’.
Could not find method compile() for arguments [org.spongepowered:spongeapi:3.0.0] on root project ‘Plugins’.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.518 secs
I have been trying to figure out what’s going on, but I just can’t find a fix. Does anyone know what’s happening here?