gradle配置错误(初次使用Minecraft Forge编写Mod时)(根据教程《我的世界:Minecraft模组开发指南》土qq著)

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ':runtimeClasspathCopy'.

    Could not find net.minecraftforge:forge:1.19.2-43.1.3_mapped_official_1.19.2.
    Searched in the following locations:

    • file:/C:/Users/Administrator/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.19.2-43.1.3_mapped_official_1.19.2/forge-1.19.2-43.1.3_mapped_official_1.19.2.pom
    • file:/C:/Users/Administrator/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.19.2-43.1.3_mapped_official_1.19.2/forge-1.19.2-43.1.3_mapped_official_1.19.2.jar
      Required by:
      project :
  • Try:

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

  • Get more help at https://help.gradle.org/

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 11m 39s