
1.5.3 gradle import not working
vicen621 opened this issue ยท 4 comments
When I import the library using gradle and reload the project this error appears and gradle does not recognize the library
A problem occurred configuring root project 'ShieldTest'.
> Could not resolve all dependencies for configuration ':modImplementation'.
> Could not find me.shedaniel.cloth:cloth-config-fabric:6.2.57.
Searched in the following locations:
- file:/C:/Users/user/OneDrive/Documentos/Code/FabricMods/ShieldTest/.gradle/loom-cache/remapped_mods/me/shedaniel/cloth/cloth-config-fabric/6.2.57/cloth-config-fabric-6.2.57.pom
- https://maven.fabricmc.net/me/shedaniel/cloth/cloth-config-fabric/6.2.57/cloth-config-fabric-6.2.57.pom
- https://libraries.minecraft.net/me/shedaniel/cloth/cloth-config-fabric/6.2.57/cloth-config-fabric-6.2.57.pom
- https://libraries.minecraft.net/me/shedaniel/cloth/cloth-config-fabric/6.2.57/cloth-config-fabric-6.2.57.jar
- https://repo.maven.apache.org/maven2/me/shedaniel/cloth/cloth-config-fabric/6.2.57/cloth-config-fabric-6.2.57.pom
- file:/C:/Users/user/.gradle/caches/fabric-loom/6.2.57/cloth-config-fabric.jar
- file:/C:/Users/user/OneDrive/Documentos/Code/FabricMods/ShieldTest/.gradle/loom-cache/6.2.57/cloth-config-fabric.jar
- https://jitpack.io/me/shedaniel/cloth/cloth-config-fabric/6.2.57/cloth-config-fabric-6.2.57.pom
Required by:
project : > com.github.CrimsonDawn45:Fabric-Shield-Lib:v1.5.3-1.18
> Could not find com.terraformersmc:modmenu:3.0.1.
Searched in the following locations:
- file:/C:/Users/user/OneDrive/Documentos/Code/FabricMods/ShieldTest/.gradle/loom-cache/remapped_mods/com/terraformersmc/modmenu/3.0.1/modmenu-3.0.1.pom
- https://maven.fabricmc.net/com/terraformersmc/modmenu/3.0.1/modmenu-3.0.1.pom
- https://libraries.minecraft.net/com/terraformersmc/modmenu/3.0.1/modmenu-3.0.1.pom
- https://libraries.minecraft.net/com/terraformersmc/modmenu/3.0.1/modmenu-3.0.1.jar
- https://repo.maven.apache.org/maven2/com/terraformersmc/modmenu/3.0.1/modmenu-3.0.1.pom
- file:/C:/Users/user/.gradle/caches/fabric-loom/3.0.1/modmenu.jar
- file:/C:/Users/user/OneDrive/Documentos/Code/FabricMods/ShieldTest/.gradle/loom-cache/3.0.1/modmenu.jar
- https://jitpack.io/com/terraformersmc/modmenu/3.0.1/modmenu-3.0.1.pom
Required by:
project : > com.github.CrimsonDawn45:Fabric-Shield-Lib:v1.5.3-1.18
Above your dependencies maybe try adding
maven { url = "https://maven.shedaniel.me/" }
and maven { url = "https://maven.terraformersmc.com/" }
Like this:
repositories {
maven { url = "https://maven.shedaniel.me/" } //Cloth
maven { url = "https://maven.terraformersmc.com/" } //Modmenu
}
Because in your error it looks like it isn't grabbing the libraries from the correct locations for some reason. They
should just be included in the library file, but I'm not sure what the issue is. It also might just be that your mod needs updated to a newer version of Gradle & needs any cached build files deleted.
i did everything but i got this message
Caused by: java.lang.RuntimeException: Invalid module: private static transient int[] me.shedaniel.autoconfig.example.ExampleConfig.__$lineHits$__
should merge with issue #93