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
  • gradlew (...) doesn't work
The update for 1.13 is being worked on - please be patient. (Updated 02/19/19)
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 2
TheKillTnT

gradlew (...) doesn't work

Started by TheKillTnT, January 27

5 posts in this topic

TheKillTnT    0

TheKillTnT

TheKillTnT    0

  • Tree Puncher
  • TheKillTnT
  • Members
  • 0
  • 2 posts
  • Report post
Posted January 27

hello, i have a big problem, because all of the gradlew commands are down and return the same exception.

If you can help me thanks !


 

Quote

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Aurelien\Desktop\alesiummod\build.gradle' line: 18

* What went wrong:
A problem occurred evaluating root project 'alesiummod'.
> com.google.gson.stream.MalformedJsonException: Unterminated string at line 88780 column 12

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

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'alesiummod'.
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:187)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
    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:470)
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:79)
    at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:31)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:128)
    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:105)
    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:85)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:81)
    at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
    at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:39)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)
    at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
    at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
    at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
    at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
    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.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
    at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
    at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
    at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
    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:54)
    at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
    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:56)
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 88780 column 12
    at com.google.gson.Gson.fromJson(Gson.java:818)
    at com.google.gson.Gson.fromJson(Gson.java:768)
    at com.google.gson.Gson.fromJson(Gson.java:717)
    at com.google.gson.Gson.fromJson(Gson.java:689)
    at net.minecraftforge.gradle.user.patch.UserPatchBasePlugin.setVersionInfoJson(UserPatchBasePlugin.java:145)
    at net.minecraftforge.gradle.user.patch.UserPatchBasePlugin.applyPlugin(UserPatchBasePlugin.java:46)
    at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:154)
    at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:49)
    at org.gradle.api.internal.plugins.DefaultPluginContainer.providePlugin(DefaultPluginContainer.java:110)
    at org.gradle.api.internal.plugins.DefaultPluginContainer.addPluginInternal(DefaultPluginContainer.java:69)
    at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:35)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:117)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:85)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:130)
    at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:41)
    at org.gradle.api.Project$apply$0.call(Unknown Source)
    at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
    at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
    at build_1ethdvnn5ct4i4sgk0iauqd0cd.run(C:\Users\Aurelien\Desktop\alesiummod\build.gradle:18)
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
    ... 34 more
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 88780 column 12
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)
    at com.google.gson.stream.JsonReader.skipQuotedValue(JsonReader.java:1100)
    at com.google.gson.stream.JsonReader.skipValue(JsonReader.java:1229)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:170)
    at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
    at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187)
    at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
    at com.google.gson.Gson.fromJson(Gson.java:803)
    ... 54 more


BUILD FAILED

Total time: 19.086 secs


 

 

Share this post


Link to post
Share on other sites

larsgerrits    503

larsgerrits

larsgerrits    503

  • Reality Controller
  • larsgerrits
  • Members
  • 503
  • 3426 posts
  • Report post
Posted January 27
2 hours ago, TheKillTnT said:

Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 88780 column 12

Uhmmm... How does your build.gradle look like?

Share this post


Link to post
Share on other sites

TheKillTnT    0

TheKillTnT

TheKillTnT    0

  • Tree Puncher
  • TheKillTnT
  • Members
  • 0
  • 2 posts
  • Report post
Posted January 28
18 hours ago, larsgerrits said:

Uhmmm... How does your build.gradle look like?

I know that it's wrote "line 88780" and i don't know why, but i know that opening the file with Idea it say me that the problem is line 18 column 12

 

 

build.gradle

Share this post


Link to post
Share on other sites

larsgerrits    503

larsgerrits

larsgerrits    503

  • Reality Controller
  • larsgerrits
  • Members
  • 503
  • 3426 posts
  • Report post
Posted January 28

Why did you comment out the "apply plugin: 'forge'"? It needs to be there.

 

Also, stop modding for 1.7.10. It's not supported anymore because of its age.

Share this post


Link to post
Share on other sites

diesieben07    6109

diesieben07

diesieben07    6109

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6109
  • 40219 posts
  • Report post
Posted January 28
57 minutes ago, larsgerrits said:

Also, stop modding for 1.7.10. It's not supported anymore because of its age.

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 2
Go To Topic Listing ForgeGradle

  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Laike_Endaril
      java.io.IOException: Can't serialize unregistered packet

      By Laike_Endaril · Posted 2 minutes ago

      I noticed that if I run the client from MultiMC and open it to LAN, with all the same versioning of all the same mods / forge / mc, it works just fine.

      And then, just for kicks, I tried deleting the build folder of my mod project.   Now it's working from my IDE as well.  It sounds like you're not running from an IDE though, so this probably won't help you.
    • LexManos
      Has it become more tedious to mod in the latest updates?

      By LexManos · Posted 7 minutes ago

      Things change, people don't like change, so they complain about it. You should be working with the most up to date version as you can. Simple as that.
    • ButterAleks
      Need help making custom bone-meal in Minecraft 1.12.2

      By ButterAleks · Posted 11 minutes ago

      So i have tried making a custom bone-meal for my mod, but i couldn't find any tutorials for it so i try to find some data for it, i found some data for bone-meal (i go it from item dyes) and i put it into the item's class, but when i tried it... it didn't work so if anyone knows how to make custom bone meal please tell me how with a reply.
    • DavidM
      [1.13.2] Detect Block Updates

      By DavidM · Posted 19 minutes ago

      I am trying to make my block detect block updates (whenever an adjacent block is changed/destroyed/created). I've looked at Block#onNeighborChange, but that only fires when an adjacent tile entity changes. How do I detect block updates?
    • FlufffyDragon
      Has it become more tedious to mod in the latest updates?

      By FlufffyDragon · Posted 37 minutes ago

      I was directed here from the minecraft forums to get an answer on a topic that was just bugging me.   To summarize what I said Why did 1.7.10 cause so many mods to be rewritten?   Main question I've heard that making minecraft mods past 1.7.10 just became tedious/more difficult, is this true?   I'm learning java right now (memorizing some scanner commands currently) and plan on making a few mods. The reason i'm asking is because I became curious if updates past 1.7.10 have actually became "More tedious to make mods for." or harder.
  • Topics

    • Nanabell
      2
      java.io.IOException: Can't serialize unregistered packet

      By Nanabell
      Started January 29

    • FlufffyDragon
      1
      Has it become more tedious to mod in the latest updates?

      By FlufffyDragon
      Started 36 minutes ago

    • ButterAleks
      0
      Need help making custom bone-meal in Minecraft 1.12.2

      By ButterAleks
      Started 10 minutes ago

    • DavidM
      0
      [1.13.2] Detect Block Updates

      By DavidM
      Started 18 minutes ago

    • PirateCody
      8
      Building mod results in "No such version exists!"

      By PirateCody
      Started Friday at 07:18 AM

  • Who's Online (See full list)

    • DavidM
    • soccerguy3@live.com
    • LexManos
    • Laike_Endaril
    • ButterAleks
    • tokuhausu
    • trexxet
    • FlufffyDragon
    • BatHeart
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • gradlew (...) doesn't work
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community