Posted June 28, 201411 yr I am working on a mod that compiles against two versions of the BuildCraft API, mostly because they changed a lot between 5.x and 6.0.x. However, I am having problems making Gradle work to do this. I can't get it to download both APIs from the Forge Maven (it just downloads the newest one), and after putting one of the APIs in src/api/java and keeping the other one in the dependencies block in my build.gradle, my IDE said that all was good, but Gradle failed on recompile. The API in src/api/java compiled correctly, but Gradle still used the API defined in the dependencies block to compile against. Is there any way that I can accomplish this, or should I just drop the 5.x API support?
June 28, 201411 yr Just drop 5.x and use 6. Its a no brainer, dont mix and match api versions -.- I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
June 28, 201411 yr Author I expected that, but the thing is, I didn't originally write this, so the guy that did somehow got it to compile (I believe without FG), so I was kinda wondering how... but yea, totally expected that.
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.