Jump to content

Recommended Posts

Posted

I am trying to test out forge modifications in my mod. I made the changes, ran genPatches and uploadArchives and now have the built files in /repo folder.

So now I thought I would just update my mod's build file to give it a local repo that would override where it pulls forge from, but that apparently isn't working for me. Keeps complaining about not finding the forge files.

 

I am kind of ok with gradle, but nowhere near understanding details like these so I am very likely doing something dumb here.

 

Is it even possible to repoint to the local repo like this?

 

Or what do people do when they want to try the forge modifications with their mod?

 

Here is the buildscript repositories part with the local repo. And I have also updated the version of forge I want it to pull to the version that's created by uploadArchives (1.10.2-12.18.1.0).

 

buildscript {
    repositories {
        jcenter()
        maven {
            name = "local forge"
            url = "../MinecraftForge/repo"
        }
        maven {
            name = "forge"
            url = "http://files.minecraftforge.net/maven"
        }
        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
        classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1+"
    }
}

Posted

I'm not sure how to use a custom build of Forge in your mod, but cpw has a video explaining how to add your mod to a Forge development workspace in IntelliJ IDEA

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.