Topic category: Troubleshooting, bugs, and solutions
I'm new here and working with the new MCreator (only 2 days), it was working properly but suddenly there was a problem building the mods and can't fix it.
I had made one mod normally and not know what it happened to appear this problem. Please I need help to continue learning in the creation of mods
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.
C:\Program Files (x86)\Pylo\MCreator 1.6.3>cd forge
C:\Program Files (x86)\Pylo\MCreator 1.6.3\forge>SET "JAVA_HOME=C:\Program Files (x86)\Pylo\MCreator 1.6.3\jdk\"
C:\Program Files (x86)\Pylo\MCreator 1.6.3\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Program Files (x86)\Pylo\MCreator 1.6.3\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Program Files (x86)\Pylo\MCreator 1.6.3\forge>gradlew build
FAILURE: Build failed with an exception.
Build file 'C:\Program Files (x86)\Pylo\MCreator 1.6.3\forge\build.gradle' line: 18
Total time: 19.111 secs
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such property: plugin for class: org.gradle.api.internal.project.DefaultProject_Decorated
Possible solutions: plugins
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Program Files (x86)\Pylo\MCreator 1.6.3\forge>
Task completed with return code 0 in 20050 milliseconds
Task return code check OK!
That's my gradlew build :
name = "forge"
url = "http://files.minecraftforge.net/maven"
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
apply plugin: 'forge' <<<<<<< THIS IS THE LINE 18 >>>>>>>
version = "1.0"
group = "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "modid"
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "eclipse"