From 444ba7a7d5aa9a54b77e8d60b8eacfff0a24b442 Mon Sep 17 00:00:00 2001 From: OhYea777 Date: Sat, 11 May 2019 17:13:38 +1200 Subject: [PATCH] Update 'build.gradle' to fix run configs for launching forge --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 3eafb0d4e..5c2984a68 100644 --- a/build.gradle +++ b/build.gradle @@ -208,6 +208,11 @@ project(':forge') { environment 'LAUNCHER_VERSION', SPEC_VERSION property 'terminal.ansi', 'true' property 'org.lwjgl.system.SharedLibraryExtractDirectory', 'lwjgl_dll' + + ideaModule "${rootProject.name}.${project.name}.userdev" + + source sourceSets.main + source sourceSets.userdev } forge_test_client { @@ -235,6 +240,11 @@ project(':forge') { environment 'FORGE_SPEC', SPEC_VERSION environment 'FORGE_VERSION', project.version.substring(MC_VERSION.length() + 1).toString() environment 'LAUNCHER_VERSION', SPEC_VERSION + + ideaModule "${rootProject.name}.${project.name}.userdev" + + source sourceSets.main + source sourceSets.userdev } forge_test_server {