FAILURE: Build failed with an exception.

Версия Minecraft
1.12.2
Привет, решил заняться модами немного, установил всё необходимое и при загрузке доп файлов через консоль выдается ошибочка
Прописывал данный код: gradlew setupDecompWorkspace
Нуждаюсь в вашей помощи)
На всякий прикрепил и скрин и в краш лог закину
 
Краш-лог
C:\Users\Вадим\Desktop\MAINKRAFT\mod>gradlew setupDecompWorkspace
Downloading https://services.gradle.org/distributions/gradle-4.9-bin.zip
........................................................................
Unzipping C:\Users\Вадим\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t\gradle-4.9-bin.zip to C:\Users\Вадим\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t

Welcome to Gradle 4.9!

Here are the highlights of this release:
- Experimental APIs for creating and configuring tasks lazily
- Pass arguments to JavaExec via CLI
- Auxiliary publication dependency support for multi-project builds
- Improved dependency insight report

For more details see https://docs.gradle.org/4.9/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.9/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap


* 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
Краш-лог:
C:\Users\Вадим\Desktop\MAINKRAFT\mod>gradlew setupDecompWorkspace
Downloading https://services.gradle.org/distributions/gradle-4.9-bin.zip
........................................................................
Unzipping C:\Users\Вадим\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t\gradle-4.9-bin.zip to C:\Users\Вадим\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t

Welcome to Gradle 4.9!

Here are the highlights of this release:
 - Experimental APIs for creating and configuring tasks lazily
 - Pass arguments to JavaExec via CLI
 - Auxiliary publication dependency support for multi-project builds
 - Improved dependency insight report

For more details see https://docs.gradle.org/4.9/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.9/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap


* 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

Вложения

  • изображение_2021-03-17_233418.png
    изображение_2021-03-17_233418.png
    48.1 KB · Просмотры: 21
Ребят, проблема решилась.
Выполнил следующие действия:
1) Удалил java полностью и скачал jdk8, установил. (ага).
2) Скачал версию forge gradlew 2847
3) В настройках gradle-wrapper.properties убрал лишний "/", что бы ссылка нормально работала. (distributionUrl=https://services.gradle.org/distributions/gradle-2.14-bin.zip)
4) Все перезапустил и прописал команду: gradlew setupDevWorkspace.

В общем, это решение действительно исправило все ошибки.
Возможно ещё что-то с SSL у вас будет, просто отрубите "Брандмауэр"
 

Вложения

  • Screenshot_2.png
    Screenshot_2.png
    131.8 KB · Просмотры: 20
Сверху