Thanks for the quick reply, I've just tried running .\gradlew genEclipseRuns but got this error:
PS C:\minecraft-workspace\forge-1.12.2-14.23.5.2768-mdk> .\gradlew genEclipseRuns To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-6084129e
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP
http://modcoderpack.com
by: Searge, ProfMobius, R4wk, ZeuX
Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
FAILURE: Build failed with an exception.
* What went wrong:
Task 'genEclipseRuns' not found in root project 'forge-1.12.2-14.23.5.2768-mdk'.
* Try:
Run gradlew 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.
BUILD FAILED