I am trying to make a mod for 1.18.1 but I get this error when I load gradle changes.
Caused by: groovy.lang.MissingMethodException: No signature of method: build_azgwwypokzcwaaalkc0x2mnqw.minecraft() is applicable for argument types: (build_azgwwypokzcwaaalkc0x2mnqw$_run_closure1) values: [build_azgwwypokzcwaaalkc0x2mnqw$_run_closure1@1a62afc2]
Caused by: java.lang.IllegalStateException: Missing 'minecraft' dependency.
Missing 'minecraft' dependency
I have "minecraft 'net.minecraftforge:forge:1.18.1-39.0.88'" in the dependency section of my build.gradle
When I create a world I get the error message in the title. It gives me the option to go into safe mode which just freezes for a couple of seconds and does nothing, or go back to title.
Here is the log
latest.log