Jump to content

Forge uses wrong version of gradle [1.15.2]


mdcby

Recommended Posts

I downloaded the latest forge MDK, but when i type gradlew genEclipseRuns i see this:

forge:1.15.2-31.1.77_mapped_snapshot_20200225-1.15.1

It turns out, whenever forge builds a new project it uses gradle version 4.10.3 instead of 5, how do i fix this?

Link to comment
Share on other sites

2 hours ago, diesieben07 said:

Nothing to fix. That is by design. The MDK comes with a Gradle wrapper configured to use the version of gradle that ForgeGradle is designed to work with.

Ok, then idk which type of problem do i have. My mod works properly when i compile it in eclipse, but doesn't work when i create jar with "gradlew build".

In build.gradle i have this, but eclipse launches 1.15.2 versionimage.png.08c43b64d5486246220251d1c01c8534.png

when i tried to change to 20200414-1.15.2 i got this:

image.png.e566e72019ad1aae040d908b493e2bb0.png

 

What am i doing wrong and what i have to do?

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.

Announcements



×
×
  • Create New...

Important Information

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