Build Failed, failed for task ':processresources'

Started by JoeG47 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:25, 12. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Build Failed, failed for task ':processresources'

I am trying to run my mod, but am getting a message stating that "Build failed with an exception", and that it could not copy the 'mcmod.info' into the required location

Additional info: I am using MCreator version 2020.5 and the 1.12 mods generator plugin (could this be the cause of the problem?)

What I've tried: I've tried the most common and second most common solutions shown here, neither of which have fixed the issue

Crash Log:

Executing 
    Gradle task: runClient

Build 
    info: MCreator 2020.5.47520, forge-1.12.2, 64-bit, 16326 MB, Windows 10, 
    JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

This 
    mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own 
    peril.

:deobfCompileDummyTask

:deobfProvidedDummyTask

:sourceApiJava 
    UP-TO-DATE

:compileApiJava 
    NO-SOURCE

:processApiResources 
    NO-SOURCE

:apiClasses 
    UP-TO-DATE

:sourceMainJava 
    UP-TO-DATE

:compileJava 
    UP-TO-DATE

:processResources 
    FAILED

FAILURE: 
    Build failed with an exception.


    What went wrong:

Execution 
    failed for task ':processResources'.


    Could not copy file 
    'C:\Users\JoeGo\MCreatorWorkspaces\fortnitecard\src\main\resources\mcmod.info' 
    to 
    'C:\Users\JoeGo\MCreatorWorkspaces\fortnitecard\build\resources\main\mcmod.info'.


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 0s


    actionable tasks: 3 executed, 3 up-to-date

BUILD 
    FAILED

Task 
    completed in 619 milliseconds

 

 

Any help would be greatly appreciated :)