@samurai229

Что делать когда gradlew выдаёт эту ошибку "execution failed for task ':download server'. minecraft"?

Решил я скомпилировать мод (вот ссылка на мод: "https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT" )
Компилирую я по инструкции которая указана на странице мода и мне выдаёт такую ошибку:
Сама ошибка:
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve org.scala-lang:scala-swing_2.11:1.0.1.
  Required by:
      project :
   > Could not resolve org.scala-lang:scala-swing_2.11:1.0.1.
      > Could not get resource 'https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom'.
         > Could not GET 'https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom'.
            > Read timed out
> Could not resolve tv.twitch:twitch-platform:5.16.
  Required by:
      project : > tv.twitch:twitch:5.16
   > Skipped due to earlier error
> Could not resolve tv.twitch:twitch-external-platform:4.5.
  Required by:
      project : > tv.twitch:twitch:5.16
   > Skipped due to earlier error

А вот весь вывод(почти):
You're using ForgeGradle-1.2-1.0.x which is not going to be developed.
Please upgrade ForgeGradle to 1.2-1.1.+.
Found AccessTransformer in main resources: HBM_at.cfg
:getVersionJsonIndex UP-TO-DATE
:getVersionJson UP-TO-DATE
:downloadClient SKIPPED
:downloadServer
:extractUserDev
Download https://maven.minecraftforge.net/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-userdev.jar
:mergeJars
Download https://maven.minecraftforge.net/com/anatawa12/forge/separated/1.2-1.0.12/separated-1.2-1.0.12.pom
Download https://maven.minecraftforge.net/org/ow2/asm/asm-debug-all/5.2/asm-debug-all-5.2.pom
Download https://maven.minecraftforge.net/org/ow2/asm/asm-parent/5.2/asm-parent-5.2.pom
Download https://maven.minecraftforge.net/com/anatawa12/forge/separated/1.2-1.0.12/separated-1.2-1.0.12.jar
Download https://maven.minecraftforge.net/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
Download https://maven.minecraftforge.net/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar
Download https://maven.minecraftforge.net/org/ow2/asm/asm-debug-all/5.2/asm-debug-all-5.2.jar
Download https://maven.minecraftforge.net/com/google/guava/guava/23.0/guava-23.0.jar
:applyBinPatches
:downloadMcpTools
:extractMcpData
:genSrgs
:deobfBinJar
Applying SpecialSource...
Applying Exceptor...
Stripping synthetics...
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
Download https://modmaven.dev/li/cil/oc/OpenComputers/maven-metadata.xml
Download https://modmaven.dev/li/cil/oc/OpenComputers/MC1.7.10-1.5.22.46/OpenComputers-MC1.7.10-1.5.22.46.pom
Download https://maven.minecraftforge.net/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom
Download https://maven.minecraftforge.net/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.pom
Download https://maven.minecraftforge.net/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom
Download https://maven.minecraftforge.net/com/typesafe/config/1.2.1/config-1.2.1.pom
Download https://maven.minecraftforge.net/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.pom
Download https://maven.minecraftforge.net/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.pom
Download https://maven.minecraftforge.net/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.pom
Download https://maven.minecraftforge.net/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.pom
Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.pom
Download https://maven.minecraftforge.net/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.pom
Download https://maven.minecraftforge.net/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.pom
Download https://maven.minecraftforge.net/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.pom
Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.pom
Download https://libraries.minecraft.net/com/mojang/realms/1.3.5/realms-1.3.5.pom
Download https://maven.minecraftforge.net/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
Download https://maven.minecraftforge.net/org/apache/commons/commons-parent/33/commons-parent-33.pom
Download https://maven.minecraftforge.net/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
Download https://maven.minecraftforge.net/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.pom
Download https://maven.minecraftforge.net/org/apache/httpcomponents/httpcomponents-client/4.3.3/httpcomponents-client-4.3.3.pom
Download https://maven.minecraftforge.net/org/apache/httpcomponents/httpcomponents-core/4.3.2/httpcomponents-core-4.3.2.pom
Download https://maven.minecraftforge.net/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.pom
Download https://maven.minecraftforge.net/org/apache/httpcomponents/project/7/project-7.pom
Download https://maven.minecraftforge.net/org/apache/commons/commons-parent/28/commons-parent-28.pom
Download https://maven.minecraftforge.net/java3d/vecmath/1.3.1/vecmath-1.3.1.pom
Download https://maven.minecraftforge.net/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.pom
Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.pom
Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.pom
Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.pom
Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.pom
Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.pom
Download https://maven.minecraftforge.net/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.pom
Download https://maven.minecraftforge.net/com/google/guava/guava/17.0/guava-17.0.pom
Download https://maven.minecraftforge.net/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.pom
Download https://maven.minecraftforge.net/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.pom
Download https://maven.minecraftforge.net/io/netty/netty-parent/4.0.10.Final/netty-parent-4.0.10.Final.pom
Download https://maven.minecraftforge.net/commons-io/commons-io/2.4/commons-io-2.4.pom
Download https://maven.minecraftforge.net/org/apache/commons/commons-parent/25/commons-parent-25.pom
Download https://maven.minecraftforge.net/commons-codec/commons-codec/1.9/commons-codec-1.9.pom
Download https://maven.minecraftforge.net/org/apache/commons/commons-parent/32/commons-parent-32.pom
Download https://maven.minecraftforge.net/net/java/jinput/jinput/2.0.5/jinput-2.0.5.pom
Download https://maven.minecraftforge.net/net/java/jutils/jutils/1.0.0/jutils-1.0.0.pom
Download https://maven.minecraftforge.net/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
Download https://maven.minecraftforge.net/org/apache/apache/9/apache-9.pom
Download https://maven.minecraftforge.net/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.pom
Download https://maven.minecraftforge.net/org/apache/logging/log4j/log4j/2.0-beta9/log4j-2.0-beta9.pom
Download https://maven.minecraftforge.net/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.pom
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.16/authlib-1.5.16.pom
Download https://maven.minecraftforge.net/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.pom
Download https://maven.minecraftforge.net/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.pom
Download https://maven.minecraftforge.net/org/lwjgl/lwjgl/parent/2.9.1/parent-2.9.1.pom
Download https://libraries.minecraft.net/tv/twitch/twitch/5.16/twitch-5.16.pom
Download https://maven.minecraftforge.net/org/scala-lang/scala-actors/2.11.0/scala-actors-2.11.0.pom
Download https://maven.minecraftforge.net/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom
Download https://maven.minecraftforge.net/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom
Download https://maven.minecraftforge.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5.pom
Download https://maven.minecraftforge.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.1/lwjgl-platform-2.9.1.pom
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve org.scala-lang:scala-swing_2.11:1.0.1.
  Required by:
      project :
   > Could not resolve org.scala-lang:scala-swing_2.11:1.0.1.
      > Could not get resource 'https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom'.
         > Could not GET 'https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom'.
            > Read timed out
> Could not resolve tv.twitch:twitch-platform:5.16.
  Required by:
      project : > tv.twitch:twitch:5.16
   > Skipped due to earlier error
> Could not resolve tv.twitch:twitch-external-platform:4.5.
  Required by:
      project : > tv.twitch:twitch:5.16
   > Skipped due to earlier error

* 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 1m 56s
12 actionable tasks: 10 executed, 2 up-to-date

Помогите пожалуйста!
  • Вопрос задан
  • 263 просмотра
Решения вопроса 1
@samurai229 Автор вопроса
Я покопался в интернете и нашёл это сайт и всё получилось: https://mcmodding.ru/1.7.10/preparation/install/
Ответ написан
Комментировать
Пригласить эксперта
Ответы на вопрос 2
xez
@xez Куратор тега Java
TL Junior Roo
Либо скачать уже собранные артифакты: releases
Либо пожаловаться на этой страничке: issues
Ответ написан
Комментировать
@Dementor
программист, архитектор, аналитик
Вижу пару проблем:
Please upgrade ForgeGradle to 1.2-1.1.+.
Нужно обновится и возможно это решит все проблемы.
Could not GET 'https://libraries.minecraft.net/org/scala-lang/sca...'
Если сборщик обновлен, а ошибка осталась, значит проблемы с репозитеорием libraries.minecraft.net - на твои запросы и на произвольные стабильно выдает "ResourceNotFound"
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы