Jump to content

1.10.2 setupDecompWorkspace Build Failed


SirLeinad

Recommended Posts

Hi, I am trying to setup the workspace to create a mod in 1.10.2, however when I execute the "gradlew setupDecompWorkspace" command after around 30 seconds its fails.

 

 

FAILURE: Build failed with an exception.

 

* Where:

Build file 'C:\Users\sirleinad\Downloads\[Mods]\Minecraft\[Modding]\1.10.2\forge-1.10.2-12.18.2.2099-mdk\build.gradle' line: 80

 

* What went wrong:

A problem occurred evaluating root project 'forge-1.10.2-12.18.2.2099-mdk'.

> No signature of method: org.gradle.api.JavaVersion.call() is applicable for argument types: (org.gradle.api.JavaVersion) values: [1.8]

Possible solutions: wait(), name(), any(), wait(long), each(groovy.lang.Closure), any(groovy.lang.Closure)

 

* Try:

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

 

BUILD FAILED

 

 

With --stacktrace

 

FAILURE: Build failed with an exception.

 

* Where:

Build file 'C:\Users\sirleinad\Downloads\[Mods]\Minecraft\[Modding]\1.10.2\forge-1.10.2-12.18.2.2099-mdk\build.gradle' line: 80

 

* What went wrong:

A problem occurred evaluating root project 'forge-1.10.2-12.18.2.2099-mdk'.

> No signature of method: org.gradle.api.JavaVersion.call() is applicable for argument types: (org.gradle.api.JavaVersion) values: [1.8]

Possible solutions: wait(), name(), any(), wait(long), each(groovy.lang.Closure), any(groovy.lang.Closure)

 

* Try:

Run with --info or --debug option to get more log output.

 

* Exception is:

org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'forge-1.10.2-12.18.2.2099-mdk'.

        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)

        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)

        at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)

        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)

        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)

        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)

        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)

        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)

        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)

        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)

        at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)

        at org.gradle.internal.Factories$1.create(Factories.java:22)

        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)

        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)

        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)

        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)

        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)

        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)

        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)

        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)

        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)

        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)

        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)

        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)

        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)

        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)

        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)

        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)

        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)

        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)

        at org.gradle.launcher.Main.doAction(Main.java:33)

        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)

        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)

        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

Caused by: groovy.lang.MissingMethodException: No signature of method: org.gradle.api.JavaVersion.call() is applicable for argument types: (org.gradle.api.JavaVersion) values: [1.8]

Possible solutions: wait(), name(), any(), wait(long), each(groovy.lang.Closure), any(groovy.lang.Closure)

        at build_886sh0xr9dyvvpr5b95d96abz.run(C:\Users\sirleinad\Downloads\[Mods]\Minecraft\[Modding]\1.10.2\forge-1.10.2-12.18.2.2099-mdk\build.gradle:80)

        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)

        ... 50 more

 

 

BUILD FAILED

 

 

I have tried other versions of Forge for 1.10.2 but the same still happens

Link to comment
Share on other sites

  • 1 month later...

"* Where:

Build file 'C:\Users\sirleinad\Downloads\[Mods]\Minecraft\[Modding]\1.10.2\forge-1.10.2-12.18.2.2099-mdk\build.gradle' line: 80

 

* What went wrong:

A problem occurred evaluating root project 'forge-1.10.2-12.18.2.2099-mdk'."

 

Go to line 80 of your build.gradle.

 

Also, I noticed "> No signature of method: org.gradle.api.JavaVersion.call() is applicable for argument types: (org.gradle.api.JavaVersion) values: [1.8]"

 

values: [1.8]

 

Lastly, run the full command "gradlew setupDevWorkspace eclipse"

It eliminates the need to run gradlew eclipse too

I Love To Help People. Unless They Are The Kind Of People Who Just Doesn't Know Anything. Those People Need Some Serious Help. This Could Help But......

https://www.youtube.com/watch?v=6t0GlXWx_PY

 

ThingsMod Git: https://github.com/EscapeMC/Things-Mod-1.10.2

 

TeamMadness Mod Git: https://github.com/EscapeMC/TeamMadness-Mod-1.10.2

 

If I somehow help you, please click the "Thank You" button. If I am a total waste of time, please click the "Applaud" button.

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.