过时的 forgeGradle?
Outdated forgeGradle?
我想为 Minecraft 1.12.2 制作一个 mod 但似乎旧的 Gradle 不再存在,并且只是为 1.13 以上的版本创建东西,任何想法如何修复它或者我在哪里可以获得 1.12 的旧版本?
我想做的任何时候:
./gradlew setupDecompWorkspace --debug
我得到:
23:22:09.986 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Task 'setupDecompWorkspace' not found in root project 'forge-1.12.2-14.23.5.2859-mdk'.
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
23:22:09.988 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
23:22:09.990 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
23:22:09.991 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
23:22:09.993 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
23:22:09.993 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
23:22:09.993 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 20s
所以...经过很多天的调查,我发现了一个可以让我正常工作的版本,我在这里下载:
https://github.com/DaRealTurtyWurty/Tutorial-Mod
他们的版本工作正常,但经过一些调查我很笨,我不应该用 eclipse 编译,我必须使用 ./gradlew build,这将开始创建 mod。
所以...解决方案是turtywurty提供的版本,不要使用eclipse,最好使用visual studio代码。
我想为 Minecraft 1.12.2 制作一个 mod 但似乎旧的 Gradle 不再存在,并且只是为 1.13 以上的版本创建东西,任何想法如何修复它或者我在哪里可以获得 1.12 的旧版本? 我想做的任何时候:
./gradlew setupDecompWorkspace --debug
我得到:
23:22:09.986 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Task 'setupDecompWorkspace' not found in root project 'forge-1.12.2-14.23.5.2859-mdk'.
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
23:22:09.987 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
23:22:09.988 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
23:22:09.990 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
23:22:09.991 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
23:22:09.993 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
23:22:09.993 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
23:22:09.993 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 20s
所以...经过很多天的调查,我发现了一个可以让我正常工作的版本,我在这里下载: https://github.com/DaRealTurtyWurty/Tutorial-Mod
他们的版本工作正常,但经过一些调查我很笨,我不应该用 eclipse 编译,我必须使用 ./gradlew build,这将开始创建 mod。
所以...解决方案是turtywurty提供的版本,不要使用eclipse,最好使用visual studio代码。