Posted May 4, 20178 yr Im trying to add Open Computers as an optional api for my mod. I add the below code in my build.gradle and when I import the changes it just breaks the whole mode, making every forge and minecraft related thing used in my mod red and broken. Am I supposed to do anything else or am I doing it wrong? repositories { maven { url = "http://maven.cil.li/" } } dependencies { provided "li.cil.oc:OpenComputers:MC1.11.2-1.7.0.13.+:api" }
May 4, 20178 yr I guess : provided "li.cil.oc:OpenComputers:MC1.11.2-1.7.0.13.+:api" should be : provided "li.cil.oc:OpenComputers:MC1.11.2-1.7.0.13:api" at least thats how I have it in my gradle . I am also not sure if provided is correct by I will leave that to somebody with more experience. (I have deobfCompile insteade of provided and it works)
May 4, 20178 yr Author Hmm odd, that is how OpenComputer's github shows how to do it, well I removed the + and the . at the end and it seems to have worked perfectly, thanks
May 5, 20178 yr I suspect they used that as a placeholder for the patch version, e.g. 1.5.+ could mean 1.5.0, 1.5.1 etc. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
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.