Posted June 7, 20178 yr Well, the title pretty much already explains it. Is there any way to have one workspace set up to work with for example MC 1.10.2 and have all my mods there, and be able to work on them and launch them individually? How would it be done? Thanks a lot.
June 7, 20178 yr If you're using eclipse, just import each project into the same workspace, and each project will have it's own run configurations.
June 21, 20178 yr Author On 7/6/2017 at 7:17 PM, Ugdhar said: If you're using eclipse, just import each project into the same workspace, and each project will have it's own run configurations. Thanks, I will try it, yes I'm using Eclipse
June 21, 20178 yr When I was developing several related mods (one of which was a library shared by the other four) I used one workspace, but different gradle commands to build them as separate jar files. For unrelated mods, I'd suggest Ugdhar's method. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 22, 20178 yr Since I'm using a multi module project (in IntelliJ, but this should apply equally to Eclipse), I thought I'd chime in. I'd recommend putting them into subdirectories as subprojects in one main gradle root. So you have your root with a common build.gradle, and a settings.gradle with just include 'Mod1', 'Mod2' and then have a separate build.gradle in each mod folder. This allows you to trigger a full build/setupDecompWorkspace for all mods at once, along with making dependencies much easier. You can put all common dependencies and repositories in the root's build.gradle. And of course you can still trigger builds etc for each individual mod.
June 22, 20178 yr 9 hours ago, BenignBanana said: Since I'm using a multi module project (in IntelliJ, but this should apply equally to Eclipse), I thought I'd chime in. I'd recommend putting them into subdirectories as subprojects in one main gradle root. So you have your root with a common build.gradle, and a settings.gradle with just include 'Mod1', 'Mod2' and then have a separate build.gradle in each mod folder. This allows you to trigger a full build/setupDecompWorkspace for all mods at once, along with making dependencies much easier. You can put all common dependencies and repositories in the root's build.gradle. And of course you can still trigger builds etc for each individual mod. I have this layout too, although there is a slight problem. Whenever I build inner mod, it messes up something in root project, so it becomes unusable in the game (getting abstract method errors and such), so I must build it from terminal (./gradlew :build) to make it usable again. I haven't investigated the issue much, ain't nobody got time for that.
June 23, 20178 yr 7 hours ago, Alexiy said: I have this layout too, although there is a slight problem. Whenever I build inner mod, it messes up something in root project, so it becomes unusable in the game (getting abstract method errors and such), so I must build it from terminal (./gradlew :build) to make it usable again. I haven't investigated the issue much, ain't nobody got time for that. That's odd, it's working just fine for me. Are you using Eclipse or IntelliJ? I know in IntelliJ sometimes gradle gets a bit desynced so you have to manually refresh it from the Gradle tool window. I've never worked with gradle in eclipse so if you're using that I doubt I could help you much
June 24, 20178 yr On 6/23/2017 at 3:40 AM, BenignBanana said: That's odd, it's working just fine for me. Are you using Eclipse or IntelliJ? I know in IntelliJ sometimes gradle gets a bit desynced so you have to manually refresh it from the Gradle tool window. I've never worked with gradle in eclipse so if you're using that I doubt I could help you much I'm using Intellij and I hate eclipse.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.