Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.