No imports are accepted

Any ideas?

Pls show us your build.gradle.

^^^

need to show gradle to see what you have, and can import

There you go:

Try to refresh gradle in IDE or execute gradle --refresh-dependencies.

Hmmm, sorry that did nothing.

Could it be a visual glitch?

I’m getting it too on IntelliJ. Checked dependencies and it seems that that one is missing amongst others. Possible server error or maintenance.

Here is the SpongeAPI download website. That’s the same things what Gradle downloads. For me, everything works.

Turns out, even though Gradle had imported the dependencies and it showed in my dependencies tab as being used at build, two versions of the module existed and the one that was being worked on within was the one with no dependencies.

Don’t know why, don’t know how, it just happened like that.

1 Like