Jump to content

Can't setup MDK 28.1.x


WantaSanchez

Recommended Posts

Hi, everyone. I can't setup forge mdk, how to I can fix this?

 

Console output witch --info:

Initialized native services in: C:\Users\WantaSanchez\.gradle\native
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.
Starting process 'Gradle build daemon'. Working directory: C:\Users\WantaSanchez\.gradle\daemon\4.9 Command: C:\Program Files\Java\jdk-10.0.2\bin\java.exe -Xms4G -Xmx4G -Dfile.encoding=windows-1251 -Duser.country=RU -Duser.language=ru -Duser.variant -cp C:\Users\WantaSanchez\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t\gradle-4.9\lib\gradle-launcher-4.9.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.9
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 2.18 secs.
The client will now receive all logging from the daemon (pid: 7144). The daemon log file: C:\Users\WantaSanchez\.gradle\daemon\4.9\daemon-7144.out.log
Daemon will be stopped at the end of the build stopping after processing
Using 4 worker leases.
Starting Build
Settings evaluated using settings file 'C:\Users\WantaSanchez\Documents\Mod Name\settings.gradle'.
Projects loaded. Root project using build file 'C:\Users\WantaSanchez\Documents\Mod Name\build.gradle'.
Included projects: [root project 'Mod Name']

> Configure project :
Evaluating root project 'Mod Name' using build file 'C:\Users\WantaSanchez\Documents\Mod Name\build.gradle'.
New Dep: net.minecraftforge:forge:1.14.4-28.1.0
All projects evaluated.
Selected primary task 'build' from project :
Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':downloadMcpConfig', task ':extractSrg', task ':createMcpToSrg', task ':reobfJar', task ':assemble', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':check', task ':build']
:compileJava (Thread[Daemon worker,5,main]) started.

> Task :compileJava UP-TO-DATE
Skipping task ':compileJava' as it is up-to-date.
:compileJava (Thread[Daemon worker,5,main]) completed. Took 0.238 secs.
:processResources (Thread[Daemon worker,5,main]) started.

> Task :processResources UP-TO-DATE
Skipping task ':processResources' as it is up-to-date.
:processResources (Thread[Daemon worker,5,main]) completed. Took 0.016 secs.
:classes (Thread[Daemon worker,5,main]) started.

> Task :classes UP-TO-DATE
Skipping task ':classes' as it has no actions.
:classes (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:jar (Thread[Daemon worker,5,main]) started.

> Task :jar
Task ':jar' is not up-to-date because:
  Input property 'rootSpec$2$1' file C:\Users\WantaSanchez\Documents\Mod Name\build\tmp\jar\MANIFEST.MF has changed.
:jar (Thread[Daemon worker,5,main]) completed. Took 0.085 secs.
:downloadMcpConfig (Thread[Daemon worker,5,main]) started.

> Task :downloadMcpConfig
Task ':downloadMcpConfig' is not up-to-date because:
  Task.upToDateWhen is false.
:downloadMcpConfig (Thread[Daemon worker,5,main]) completed. Took 0.029 secs.
:extractSrg (Thread[Daemon worker,5,main]) started.

> Task :extractSrg UP-TO-DATE
Skipping task ':extractSrg' as it is up-to-date.
:extractSrg (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:createMcpToSrg (Thread[Daemon worker,5,main]) started.

> Task :createMcpToSrg FAILED
:createMcpToSrg (Thread[Daemon worker,5,main]) completed. Took 0.004 secs.

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':createMcpToSrg'.
> No value has been specified for property 'mappings'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --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 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

BUILD FAILED in 10s
6 actionable tasks: 3 executed, 3 up-to-date
Для продолжения нажмите любую клавишу . . .
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.

 

Link to comment
Share on other sites

14 minutes ago, WantaSanchez said:

I'm use Java 10, if I change to Java 8, is work! But, Forge\Forge Gradlew can't use java 9+?

I was under the impression that 1.13+ could use 8-10, however I've only used 8 myself, so I can't honestly say.

Glad you got it working at least!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.