Jump to content

Recommended Posts

Posted

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

 

 

Posted

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)

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.