diff --git a/Common/build.gradle b/Common/build.gradle index a40cf38..625ca81 100644 --- a/Common/build.gradle +++ b/Common/build.gradle @@ -14,8 +14,12 @@ minecraft { runs { if (project.hasProperty('common_runs_enabled') ? project.findProperty('common_runs_enabled').toBoolean() : true) { - server(project.hasProperty('common_server_run_name') ? project.findProperty('common_server_run_name') : 'vanilla_server') {} - client(project.hasProperty('common_client_run_name') ? project.findProperty('common_client_run_name') : 'vanilla_client') {} + server(project.hasProperty('common_server_run_name') ? project.findProperty('common_server_run_name') : 'vanilla_server') { + workingDirectory(this.file("run")) + } + client(project.hasProperty('common_client_run_name') ? project.findProperty('common_client_run_name') : 'vanilla_client') { + workingDirectory(this.file("run")) + } } } } \ No newline at end of file diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 8b74f68..0e8585d 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -23,11 +23,13 @@ loom { client() setConfigName("Fabric Client") ideConfigGenerated(true) + runDir("${this.name}/run") } server { server() setConfigName("Fabric Server") ideConfigGenerated(true) + runDir("${this.name}/run") } } }