Jump to content
  • Home
  • Files
  • Docs
  • Merch
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
1.13 Update Notes for Mod Creators
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

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

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

    • DavidM
      Unstable ModPack 1.12.2

      By DavidM · Posted 16 minutes ago

      1. Please don’t use that font. 2. BetweenOres’ problem. Remove it and report to its author.
    • DavidM
      [1.14-newer] deprecated method onBlockActivated

      By DavidM · Posted 26 minutes ago

      Please make your own thread.
    • saxon564
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564 · Posted 40 minutes ago

      I have condensed my code down  so the link in my first post is off by several lines. So here is the correct link. I also commented out all the code using the Minecraft instance since none of that is important right now. I still can't figure out what is causing the hang. Putting in debug code between each line and even overriding the remove methods and all the debug lines do get called. So it seems to me it is something after the my entity is removed, which makes no sense since if the entity dies in any other way, this is not an issue.
    • FireController1847
      [1.14.4] [Solved] Persisting player health on dimension change

      By FireController1847 · Posted 43 minutes ago

      So in reality, what's happening is the attribute is lost on the client-side but not on the server side, which allows it to recover itself without having to re-initiate it?
    • NoMercyPro
      Forge 1.12.2 Installer Crash

      By NoMercyPro · Posted 54 minutes ago

      I have forge 1.12.2-14.23.5.2768 and it's selected and installed properly as well as the latest java installed but on the minecraft launcher, it won't even try to launch. I click the play button but it won't load or open. It works when I play minecraft 1.14
  • Topics

    • fump
      1
      Unstable ModPack 1.12.2

      By fump
      Started 8 hours ago

    • matt1999rd
      17
      [1.14-newer] deprecated method onBlockActivated

      By matt1999rd
      Started November 1

    • saxon564
      6
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564
      Started Yesterday at 05:11 AM

    • FireController1847
      5
      [1.14.4] [Solved] Persisting player health on dimension change

      By FireController1847
      Started 4 hours ago

    • NoMercyPro
      0
      Forge 1.12.2 Installer Crash

      By NoMercyPro
      Started 54 minutes ago

  • Who's Online (See full list)

    • DesertDwarf
    • RoboShark1019
    • yegor
    • DavidM
    • antimordred
    • loordgek
    • stepsword
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [Unsolved]Gradle 1.7.2 build failed with an exception
  • Theme
  • Contact Us
  • Discord

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