Error compiling SpongeForge server

Hi, i followed every step from this link: SpongeForge/README.md at stable-7 · SpongePowered/SpongeForge · GitHub

I’m setting up a SpongeForge project in IntelliJ.
I succeded in setting up everything but when i try to run the MinecraftServer from the configuration dropdown it fails with 100 error and 100 warnings at the * :SpongeCommon:compileJava step.

This is the stacktrace:

What am i doing wrong?

I’m using the gradle wrapper

It seems like your dependencies are not registered. Run the following gradle command to reimport them.

gradle setupDecompWorkspace --refresh-dependencies

Already tried with no success unfortunately

I might be missing something but i don’t know what

Any idea? I tried reinstalling everything without importing any module but nothing changed