Can't export mod

Status
Fixed
Issue description

Hi MCreator! I have the problem that as soon as I export my Minecraft mod it says "Could not export the modification". Please help me, this bug has been for me since MCreator 1.8.x

Issue comments

Executing gradle command: build
Build info: MCreator 1.8.3, 64-bit, 8132 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
(c) 2018 Microsoft Corporation. Med ensamr„tt.
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms510m -Xmx1500m" build 
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 766 milliseconds
   
Executing gradle command: build
Build info: MCreator 1.8.3, 64-bit, 8132 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
(c) 2018 Microsoft Corporation. Med ensamr„tt.
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms510m -Xmx1500m" build 
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 688 milliseconds

This is most likely happening because MCreator can't write to its user home folder for some reason. It could be that Antivirus is blocking MCreator. Try running MCreator as administrator too to see if this helps.

More technical info about this can be found on the following page: https://stackoverflow.com/questions/30840526/gradle-could-not-create-service-of-type-initscripthandler-using-buildscopeservic

    I have tried to turn off AntiVirus and also tried to run MCreator as administrator but nothing happend! Please help me! D=

    I can't think of other reasons why this is not working. Try reinstalling it, installing it again, try to install and run it as admin, this might work too.

    You might get more ideas on the page I linked.