Jump to content

Dependency Issue


_BlackMage_

Recommended Posts

Hello,

I am trying to create a mod that uses the Gases Framework mod as a dependency. I have downloaded that mods source and as instructed created a dev build and then added it to the /libs folder and the build.gradle.

 

when I go to compile the mod I'm met with the following error: https://pastebin.com/wybu3Ugc

 

My build.gradle: https://pastebin.com/cmwBTHAX

 

I then added Gases Framework to the build path as an external jar

 

Not sure where I have gone wrong though?

Link to comment
Share on other sites

Hi _BlackMage_,

 

if following lines in the build.gradle of the framework not exists, add them:

 

task deobfJar(type: Jar) { // Generate deobfuscated
    from sourceSets.main.output
    classifier = 'deobf'
}

tasks.build.dependsOn('deobfJar')

artifacts {
    archives deobfJar
    archives jar
}

 

if you then recompile the framework you should get a jar with a name that end with deobf.jar.

 

Drop the deobf.jar in the libs folder with your dependencys and try to recompile your mod.

 

I hope I could help you with my crappy english?.

 

Have a nice day,

 

Gaprosys1

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