MOD idea gradle出错:FAILURE: Build failed with an exception

inrhor


版本信息
你使用的系统:
你是用的JDK:
你使用的IDE:
你使用的IDE版本:<2019>
Fabric版本: <1.16.1>
Minecraft版本: <1.16.1>

错误情况简述
离线试过了,代理也试过了,最终结果还是这样如下:

报错日志

22:11:00: Executing task...


FAILURE: Build failed with an exception.

* Where:
Build file 'F:\fabric\xxx\build.gradle' line: 2

* What went wrong:
Plugin [id: 'fabric-loom', version: '0.4-SNAPSHOT'] was not found in any of the following sources:

- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/5.5.1/userguide/standard_plugins.html for available core plugins)
- Plugin Repositories (could not resolve plugin artifact 'fabric-loom:fabric-loom.gradle.plugin:0.4-SNAPSHOT')
  Searched in the following repositories:
    BintrayJCenter
    Fabric(https://maven.fabricmc.net/)
    Gradle Central Plugin Repository

* 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

BUILD FAILED in 1s
22:11:02: Task execution finished.

FledgeXu



试试这个,有个已知的问题是由于镜像源的同步,有时候最新版的MDK可能会构建失败,可以选择降一个Forge的版本,或者等待24h后再来构建。


FledgeXu


没有什么好的办法,这个看上去就是一个网络问题。


system


该主题在最后一个回复创建后7天后自动关闭。不再允许新的回复。