Jump to content

When I try to upgrade my forge gradle it fails


delemberen12

Recommended Posts

I'm trying to upgrade my forge gradle but when I do this pops up saying BUILD FAILED

This is what happens when I put "1.7.2-10.12.0.1034" (Without quotes) in line 21 for build.gradle

 

 

 

C:\Users\JERRY\Desktop\MechanicalCraft>gradlew.bat setupDecompWorkspace

****************************

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

****************************

 

FAILURE: Build failed with an exception.

 

* Where:

Build file 'C:\Users\JERRY\Desktop\MechanicalCraft\build.gradle' line: 21

 

* What went wrong:

A problem occurred evaluating root project 'MechanicalCraft'.

> This version of ForgeGradle only works with Minecraft 1.6.4!

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Total time: 18.763 secs

 

C:\Users\JERRY\Desktop\MechanicalCraft>gradlew setupDecompWorkspace

****************************

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

****************************

 

FAILURE: Build failed with an exception.

 

* Where:

Build file 'C:\Users\JERRY\Desktop\MechanicalCraft\build.gradle' line: 21

 

* What went wrong:

A problem occurred evaluating root project 'MechanicalCraft'.

> This version of ForgeGradle only works with Minecraft 1.6.4!

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Total time: 15.621 secs

 

C:\Users\JERRY\Desktop\MechanicalCraft>

 

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

Link to comment
Share on other sites

This version of ForgeGradle only works with Minecraft 1.6.4
You need to use FG 1.2 for Minecraft 1.7.2.

 

This is probably the most stupid question in the world but...

 

How do you get  FG 1.2 for Minecraft 1.7.2?

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

Link to comment
Share on other sites

This is  my build.gradle

 

 

buildscript {

    repositories {

        mavenCentral()

        maven {

            name = "forge"

            url = "http://files.minecraftforge.net/maven"

        }

    }

    dependencies {

        classpath 'net.minecraftforge.gradle:ForgeGradle:1.0-SNAPSHOT'

    }

}

 

apply plugin: 'forge'

 

version = "1.0"

group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html

archivesBaseName = "modid"

 

minecraft {

version = "1.7.2-10.12.0.1034"

}

 

processResources

{

    // replace stuff in mcmod.info, nothing else

    from(sourceSets.main.resources.srcDirs) {

        include 'mcmod/info'

               

        // replace version and mcversion

        expand 'version':project.version, 'mcversion':project.minecraft.version

    }

       

    // copy everything else, thats not the mcmod.info

    from(sourceSets.main.resources.srcDirs) {

        exclude 'mcmod.info'

    }

}

 

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

Link to comment
Share on other sites

When I do it now this is what happens

 

 

 

C:\Users\JERRY\Desktop\forge-1.6.4-9.11.1.964-src>gradlew setupDecompWorkspace

 

FAILURE: Build failed with an exception.

 

* What went wrong:

A problem occurred configuring root project 'forge-1.6.4-9.11.1.964-src'.

> Could not resolve all dependencies for configuration ':classpath'.

  > Could not find net.minecraftforge.gradle:ForgeGradle:1.2.

    Required by:

        :forge-1.6.4-9.11.1.964-src:unspecified

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Total time: 7.564 secs

 

C:\Users\JERRY\Desktop\forge-1.6.4-9.11.1.964-src>

 

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

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.