Problem with forge idk first time

this is the first time i try to setup minecraft forge on intellij to make mods but i got this error and i dont know what to do pls help and when i went to run genIntellijRuns this came up idk what to do

FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘genIntellijRuns’ not found in root project ‘forge-1.12.2-’.

  • Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at


That’s not enough information.

You are missing the task: genIntellijRuns.

Without context it’s impossible to know why, where,…

thank you for giving me that infomation(hope you wil have a good day)