Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.11.2] Help with adding API to Build.gradle


BeardlessBrady
 Share

Recommended Posts

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"
}

 

 

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.