Jump to content

Cannot download fastutil library


KxmischesDomi

Recommended Posts

Hey, I've got a problem im really stuck on since yesterday.

After setting up a new forge project, gradle is not able to download fastutil. I tried several things one being downloading it through the internet and put it into the gradle folders directly, but since I don't know much about how gradle works exactly I don't really know what I should do.

Does anyone have the same problem or knows how to fix it?

 

Gradle Log: https://sourceb.in/ncO3jhtieP

Link to comment
Share on other sites

  • 5 months later...

I am assuming you want the 5.0.9 version, no?

First, you must find the artifact string from mavencentral, I already found it for you:
'fastutil:fastutil:5.0.9'

Then, you must add "implementation 'fastutil:fastutil:5.0.9'" in the "dependencies" block in build.gradle

(Make sure your repositories block has "mavenCentral()" in it)

So the final code should be:
 

repositories {
	mavenCentral() // NOTE: Only include this if it isn't already there.

	// Other repositories
}

dependencies {
	implementation 'fastutil:fastutil:5.0.9'

	// Other dependencies such as forge, minecraft, etc.
}

 

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.