Open Daxanius opened 7 months ago
it should work imo. try this one?
modImplementation("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}") { transitive = false }
include("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}")
besides, I don't recommend including shimmer as a jar in jar, as shimmer is unstable and prone to conflict with rendering related mods, although we have been actively fixing compatibility issues
it should work imo. try this one?
modImplementation("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}") { transitive = false } include("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}")
Problem still persists for me even after applying these two lines in build.gradle:
A problem occurred configuring root project 'end-mod'.
> Could not resolve all files for configuration ':modImplementation'.
> Could not find com.lowdragmc.shimmer:Shimmer-fabric:0.2.3.
Searched in the following locations:
- file:/Users/{user}/Desktop/Code/java/end-mod/.gradle/loom-cache/remapped_mods/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
- file:/Users/{user}/.gradle/caches/fabric-loom/minecraftMaven/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
- file:/Users/{user}/Desktop/Code/java/end-mod/.gradle/loom-cache/minecraftMaven/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
- https://maven.fabricmc.net/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
- https://libraries.minecraft.net/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
- https://libraries.minecraft.net/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.jar
- https://repo.maven.apache.org/maven2/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
- https://maven.firstdarkdev.xyz/snapshots/com/lowdragmc/shimmer/Shimmer-fabric/0.2.3/Shimmer-fabric-0.2.3.pom
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
modImplementation("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}") { transitive = false }
include("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}")
shimmer_version = 1.20.1-0.2.3 not 0.2.3
I am trying to create a 1.20.x mod with Fabric and Shimmer as a dependency.
When I attempt to include Shimmer in my build.gradle file, no matter what 1.20.x version, it gradle always says it cannot find the following dependencies:
I'm not sure what's going wrong there, but I would like to be able to include Shimmer into my mod as a dependency.
Here's a complete log excluding personal information:
Here's what the important bit of my build.gradle looks like:
And my properties contains this:
I tried a lot of version configurations but all of them seem to be having this issue.
Also in your README it states note the version like
${minecraft_version}:${shimmer_version}
, while it's actually${minecraft_version}-${shimmer_version}
.Either your documentation is stating false / outdated information and I am doing something wrong, or there is something wrong with your repository configuration.