I need help setting up forge gradle in intellij

So Im trying to set up a Forge 1.7.2 environment in IntelliJ. So I installed home-brew the installed gradle through that and whenever i do a command in gradle this shows up.

FAILURE: Build failed with an exception.

  • What went wrong: Task ‘build’ not found in root project ‘local’.

  • Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with




option to get more log output.