Jump to content

Is ForgeGradle not compatible with Gradle versions above 4.9?


Recommended Posts

Build fails with 

> Failed to notify project evaluation listener.
   > org.gradle.internal.nativeintegration.services.FileSystems.getDefault()Lorg/gradle/internal/nativeplatform/filesystem/FileSystem;

when I use a Gradle version above 4.9. (6.2.2)

I checked, my buildscipt should be alright. This only happens when I apply the ForgeGradle plugin. I'm using Kotlin Script, but that shouldn't be the problem (the script works fine with Gradle 4.9). Of course, I could always just stay on that older version, but that would have several disadvantages. The most important one being that the users of my mod should be able to build a version of the mod themselves only using the command line and that would mean that they too need that exact version of gradle, which is annoying without having gradle wrapper set up. I am asking if anyone knows this issue and if somebody knows something like a workaround for this. Or if the buildscript must be written in a certain way that is different from the one supplied in the mdk.

Link to comment
Share on other sites

If you dont know what you're talking about dont complain about it.

If you think something is wrong research it before you critique. We have to do the things in the way we do because gradle does not provide the tools to do obfuscated based development like Minecraft in a non hacky way. Blame gradle, blame mojang, dont blame us.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.

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.