bernie-g/geckolib

I have a problem implementing Geckolib in my project in IntelliJ, Fabric 1.20.4

TheWayRaw opened this issue · 1 comments

I have a problem implementing Geckolib in my project in IntelliJ, Fabric 1.20.4.

According to the documentation (https://github.com/bernie-g/geckolib/wiki/Installation-(Geckolib4))

repositories {
maven {
name = 'GeckoLib'
url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/'
content {
includeGroupByRegex("software.bernie.*")
includeGroup("com.eliotlash.mclib")
}
}
}

dependencies {
modImplementation("software.bernie.geckolib:geckolib-fabric-${minecraft_version}:${geckolib_version}")
implementation("com.eliotlash.mclib:mclib:20")
}

And:
gradle.properties: -> geckolib_version=4.4.6

But it gives me this error:

A problem occurred configuring root project 'Arcanum'.

Could not resolve all files for configuration ':modImplementation'.
Could not find software.bernie.geckolib:geckolib-fabric-1.20.4:4.4.6.
Searched in the following locations:

Possible solution:

Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Duplicate as raised in discussions