Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [Unsolved]Gradle 1.7.2 build failed with an exception
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
Hirvio

[Unsolved]Gradle 1.7.2 build failed with an exception

By Hirvio, January 2, 2014 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

Hirvio    0

Hirvio

Hirvio    0

  • Tree Puncher
  • Hirvio
  • Members
  • 0
  • 9 posts
Posted January 2, 2014

I keep getting

 

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':reobf'.
> No value has been specified for property 'deobfFile'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

 

when i try to build my mod,

 

I tried

gradlew cleancache --refresh-dependencies

but it didn't solve anything, anything i done wrong?

The code itself runs fine in the development environment

 

here is my build.gradle

 

 


buildscript {

    repositories {

        mavenCentral()

        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:1.1-SNAPSHOT'

    }

}

 

apply plugin: 'forge'

 

version = "0.1a"

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

archivesBaseName = "arcanecraft"

 

minecraft {

    version = "1.7.2-10.12.0.977"

}

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'

    }

}

 

 

  • Quote

Share this post


Link to post
Share on other sites

Miclebrick    0

Miclebrick

Miclebrick    0

  • Tree Puncher
  • Miclebrick
  • Members
  • 0
  • 30 posts
Posted January 4, 2014

I have the same problem .-. Does anyone know why it's happening?

  • Quote

Share this post


Link to post
Share on other sites

PlatonCraft    11

PlatonCraft

PlatonCraft    11

  • Creeper Killer
  • PlatonCraft
  • Members
  • 11
  • 114 posts
Posted January 4, 2014

Same freakin' problem. HELP!!!

  • Quote

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Miclebrick    0

Miclebrick

Miclebrick    0

  • Tree Puncher
  • Miclebrick
  • Members
  • 0
  • 30 posts
Posted January 4, 2014

I think there might be some field where we specify a reobfile

  • Quote

Share this post


Link to post
Share on other sites

Miclebrick    0

Miclebrick

Miclebrick    0

  • Tree Puncher
  • Miclebrick
  • Members
  • 0
  • 30 posts
Posted January 4, 2014

I looked at https://github.com/MinecraftForge/ForgeGradle/issues/46, and found out to add this to the bottom of the build.gradle:

reobf { deobfFile = new net.minecraftforge.gradle.delayed.DelayedFile(project, "build/tmp/deobfuscateJar/deobfed.jar") }

 

  • Quote

Share this post


Link to post
Share on other sites

PlatonCraft    11

PlatonCraft

PlatonCraft    11

  • Creeper Killer
  • PlatonCraft
  • Members
  • 11
  • 114 posts
Posted January 4, 2014

YEAHHHH, I SOLVED IT!!!! Finally. What to do described here http://www.minecraftforge.net/forum/index.php/topic,15232

  • Quote

[spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here

[spoiler=Spoiler]And here too

[spoiler=Spoiler]But that image is pretty good

 

 

 

 

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

AnonymousModder    1

AnonymousModder

AnonymousModder    1

  • Tree Puncher
  • AnonymousModder
  • Members
  • 1
  • 46 posts
Posted December 31, 2015

Did you ever figure this out?

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • NullDev
      Custom Slime Block not working with Pistons

      By NullDev · Posted 4 minutes ago

      https://github.com/AyliasTheCoder/The-Secrets-Of-BlocksDrawing
    • diesieben07
      Right Way To Add Arbitrary Data To PlayerEntities

      By diesieben07 · Posted 10 minutes ago

      Capabilities
    • diesieben07
      Custom Slime Block not working with Pistons

      By diesieben07 · Posted 11 minutes ago

      Wat... No. I need an URL I can clone.
    • Iron1601
      Right Way To Add Arbitrary Data To PlayerEntities

      By Iron1601 · Posted 46 minutes ago

      I want to have a field or some attribute to PlayerEntity that indicates whether the player is pressing a key. I've tried DataManagers but the id value overlap makes me think that is the wrong way to do it on top of causing exceptions. I've also tried Lists and such to store players that did but sidedness and thread safety make me think thats also the wrong way. My question is how do I add this boolean attribute in such a way that avoids sidedness and is the proper way?   Thanks.
    • NullDev
      Custom Slime Block not working with Pistons

      By NullDev · Posted 1 hour ago

      Does this git repo generated by IntelliJ work? That's the only way I know how to make a git repo of it. .git.zip
  • Topics

    • NullDev
      6
      Custom Slime Block not working with Pistons

      By NullDev
      Started 17 hours ago

    • Iron1601
      1
      Right Way To Add Arbitrary Data To PlayerEntities

      By Iron1601
      Started 46 minutes ago

    • KBomb
      23
      Mods aren't loading on Forge 1.16.5 server

      By KBomb
      Started Yesterday at 07:32 PM

    • Jeldrik
      8
      Starting GUI on key Input

      By Jeldrik
      Started 18 hours ago

    • yousuf
      30
      My modpack is about to be complete just need a few help

      By yousuf
      Started February 14

  • Who's Online (See full list)

    • WindRunner7
    • Leronus
    • ryo
    • Hippl
    • jmb19905
    • tabr
    • matezz
    • diesieben07
    • Jeldrik
    • Tanguygab
    • Zapdos887
    • GermanBucket
    • ajGeneric
    • Leonardlasardine
    • Caseofgames
    • Draco18s
    • vemerion
    • Iron1601
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [Unsolved]Gradle 1.7.2 build failed with an exception
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community