Jump to content

Recommended Posts

Posted

Solution:

For anyone that has an issue like this just run "gradlew setupdecompworkspace" from your project location.

You should be able to build your project after that.

Solution:

 

 

When I run gradlew build --info this is the output

 

Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'F:\Minecraft Mods\Armerger\build.gradle'.
Included projects: [root project 'Armerger']
Evaluating root project 'Armerger' using build file 'F:\Minecraft Mods\Armerger\build.gradle'.
****************************
Powered By MCP:             
http://modcoderpack.com/    
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
All projects evaluated.
Selected primary task 'DefaultTaskParameter{taskName='build',projectPath='null'}'
Tasks to be executed: [task ':compileApiJava', task ':processApiResources', task ':apiClasses', task ':sourceMainJava', task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':extractMcpData', task ':getVersionJson', task ':extractUserDev', task ':genSrgs', task ':reobf', task ':assemble', task ':check', task ':build']
:compileApiJava (Thread[main,5,main]) started.
:compileApiJava
Skipping task ':compileApiJava' as it has no source files.
:compileApiJava UP-TO-DATE
:compileApiJava (Thread[main,5,main]) completed. Took 0.01 secs.
:processApiResources (Thread[main,5,main]) started.
:processApiResources
Skipping task ':processApiResources' as it has no source files.
:processApiResources UP-TO-DATE
:processApiResources (Thread[main,5,main]) completed. Took 0.001 secs.
:apiClasses (Thread[main,5,main]) started.
:apiClasses
Skipping task ':apiClasses' as it has no actions.
:apiClasses UP-TO-DATE
:apiClasses (Thread[main,5,main]) completed. Took 0.0 secs.
:sourceMainJava (Thread[main,5,main]) started.
:sourceMainJava
Skipping task ':sourceMainJava' as it is up-to-date (took 0.023 secs).
:sourceMainJava UP-TO-DATE
:sourceMainJava (Thread[main,5,main]) completed. Took 0.024 secs.
:compileJava (Thread[main,5,main]) started.
:compileJava
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom]
Executing task ':compileJava' (up-to-date check took 0.927 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with JDK Java compiler API.
:compileJava FAILED
:compileJava (Thread[main,5,main]) completed. Took 1.028 secs.

BUILD FAILED

Total time: 4.024 secs
Stopped 0 compiler daemon(s).

 

I did my initial setup in win8.1 and at the time I was able to build my project, I am now in win10. I have added the JAVA_HOME Env. Var. and javac -version is reporting the expected version (1.8u45)

 

You can see the folder structure in this Github

Any help would be appreciated.

 

Edit 1:

Tried building another project and that one is working, as far as I can tell they have the exact same gradle setup. You can see the folder structure in this Github

 

 

Edit 2:

I am able to run the mod from within eclipse and everything shows up, but still can't build it.

 

If you need other information just ask.

 

 

Edit 3:

Updated the output from attempting to build

New question:

Are these necessary to build and if not how to I remove them from the build path?

https://libraries.minecraft.net//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
https://libraries.minecraft.net/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom]
https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom]
https://libraries.minecraft.net/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom]

Current Project: Armerger 

Planned mods: Light Drafter  | Ore Swords

Looking for help getting a mod off the ground? Coding  | Textures

Posted

I made a new folder and transferred the gradle files, ran gradlew setupdecompworkspace, then copied the src folder and libs folder over ran gradlew build --info and it created the jar. Can I just run gradlew setupdecompworkspace in the original folder again to fix it?

 

This is the output from build:

Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'F:\Minecraft Mods\test\build.gradle'.
Included projects: [root project 'test']
Evaluating root project 'test' using build file 'F:\Minecraft Mods\test\build.gradle'.
****************************
Powered By MCP:             
http://modcoderpack.com/    
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
All projects evaluated.
Selected primary task 'DefaultTaskParameter{taskName='build',projectPath='null'}'
Tasks to be executed: [task ':compileApiJava', task ':processApiResources', task ':apiClasses', task ':sourceMainJava', task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':extractMcpData', task ':getVersionJson', task ':extractUserDev', task ':genSrgs', task ':reobf', task ':assemble', task ':check', task ':build']
:compileApiJava (Thread[main,5,main]) started.
:compileApiJava
Skipping task ':compileApiJava' as it has no source files.
:compileApiJava UP-TO-DATE
:compileApiJava (Thread[main,5,main]) completed. Took 0.012 secs.
:processApiResources (Thread[main,5,main]) started.
:processApiResources
Skipping task ':processApiResources' as it has no source files.
:processApiResources UP-TO-DATE
:processApiResources (Thread[main,5,main]) completed. Took 0.0 secs.
:apiClasses (Thread[main,5,main]) started.
:apiClasses
Skipping task ':apiClasses' as it has no actions.
:apiClasses UP-TO-DATE
:apiClasses (Thread[main,5,main]) completed. Took 0.001 secs.
:sourceMainJava (Thread[main,5,main]) started.
:sourceMainJava
Executing task ':sourceMainJava' (up-to-date check took 0.069 secs) due to:
  No history is available.
:sourceMainJava (Thread[main,5,main]) completed. Took 0.141 secs.
:compileJava (Thread[main,5,main]) started.
:compileJava
Resource missing. [HTTP GET: http://files.minecraftforge.net/maven//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Resource missing. [HTTP HEAD: http://files.minecraftforge.net/maven//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar]
Resource missing. [HTTP GET: http://repo1.maven.org/maven2//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Resource missing. [HTTP HEAD: http://repo1.maven.org/maven2//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom]
Executing task ':compileJava' (up-to-date check took 1.68 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with JDK Java compiler API.
:compileJava (Thread[main,5,main]) completed. Took 2.462 secs.
:processResources (Thread[main,5,main]) started.
:processResources
Executing task ':processResources' (up-to-date check took 0.016 secs) due to:
  No history is available.
:processResources (Thread[main,5,main]) completed. Took 0.212 secs.
:classes (Thread[main,5,main]) started.
:classes
Skipping task ':classes' as it has no actions.
:classes (Thread[main,5,main]) completed. Took 0.001 secs.
:jar (Thread[main,5,main]) started.
:jar
Executing task ':jar' (up-to-date check took 0.011 secs) due to:
  No history is available.
:jar (Thread[main,5,main]) completed. Took 0.054 secs.
:compileTestJava (Thread[main,5,main]) started.
:compileTestJava
Skipping task ':compileTestJava' as it has no source files.
:compileTestJava UP-TO-DATE
:compileTestJava (Thread[main,5,main]) completed. Took 0.0 secs.
:processTestResources (Thread[main,5,main]) started.
:processTestResources
Skipping task ':processTestResources' as it has no source files.
:processTestResources UP-TO-DATE
:processTestResources (Thread[main,5,main]) completed. Took 0.001 secs.
:testClasses (Thread[main,5,main]) started.
:testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses UP-TO-DATE
:testClasses (Thread[main,5,main]) completed. Took 0.0 secs.
:test (Thread[main,5,main]) started.
:test
file or directory 'F:\Minecraft Mods\test\build\classes\test', not found
Skipping task ':test' as it has no source files.
:test UP-TO-DATE
:test (Thread[main,5,main]) completed. Took 0.001 secs.
:extractMcpData (Thread[main,5,main]) started.
:extractMcpData
Skipping task ':extractMcpData' as it is up-to-date (took 0.005 secs).
:extractMcpData UP-TO-DATE
:extractMcpData (Thread[main,5,main]) completed. Took 0.005 secs.
:getVersionJson (Thread[main,5,main]) started.
:getVersionJson
Executing task ':getVersionJson' (up-to-date check took 0.001 secs) due to:
  Task has not declared any outputs.
:getVersionJson (Thread[main,5,main]) completed. Took 0.305 secs.
:extractUserDev (Thread[main,5,main]) started.
:extractUserDev
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/net/minecraftforge/forge/1.7.10-10.13.4.1481-1.7.10/forge-1.7.10-10.13.4.1481-1.7.10.pom]
Skipping task ':extractUserDev' as it is up-to-date (took 0.218 secs).
:extractUserDev UP-TO-DATE
:extractUserDev (Thread[main,5,main]) completed. Took 0.218 secs.
:genSrgs (Thread[main,5,main]) started.
:genSrgs
Skipping task ':genSrgs' as task onlyIf is false.
:genSrgs SKIPPED
:genSrgs (Thread[main,5,main]) completed. Took 0.227 secs.
:reobf (Thread[main,5,main]) started.
:reobf
Executing task ':reobf' (up-to-date check took 0.003 secs) due to:
  No history is available.
:reobf (Thread[main,5,main]) completed. Took 0.834 secs.
:assemble (Thread[main,5,main]) started.
:assemble
Skipping task ':assemble' as it has no actions.
:assemble (Thread[main,5,main]) completed. Took 0.0 secs.
:check (Thread[main,5,main]) started.
:check
Skipping task ':check' as it has no actions.
:check UP-TO-DATE
:check (Thread[main,5,main]) completed. Took 0.0 secs.
:build (Thread[main,5,main]) started.
:build
Skipping task ':build' as it has no actions.
:build (Thread[main,5,main]) completed. Took 0.0 secs.

BUILD SUCCESSFUL

Total time: 7.882 secs
Stopped 0 compiler daemon(s).

Current Project: Armerger 

Planned mods: Light Drafter  | Ore Swords

Looking for help getting a mod off the ground? Coding  | Textures

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.