bernie-g / geckolib

GeckoLib is an animation engine for Minecraft mods, with support for complex 3D keyframe-based animations, numerous easings, concurrent animation support, sound and particle keyframes, event keyframes, math-based animations, and more. Available for all major modloaders.
https://geckolib.com
MIT License
596 stars 126 forks source link

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

Closed TheWayRaw closed 1 month ago

TheWayRaw commented 1 month ago

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

Tslat commented 1 month ago

Duplicate as raised in discussions