Cloth API (Fabric)

Cloth API (Fabric)

12M Downloads

Unable to build with jar from CurseForge

sargunv opened this issue ยท 2 comments

commented

Not sure if this is a loom issue or a Cloth issue, but I'm having trouble building my mod that depends on Cloth Config.

dependencies {
    /* snip others */
    modCompile "cloth-config:Cloth:Config:0.1.0.3"
    include "cloth-config:Cloth:Config:0.1.0.3"
}
BUILD FAILED in 8s
1 actionable task: 1 executed
Could not find cloth-config:Cloth:Config.mapped.yarn.4.
Searched in the following locations:
  - https://libraries.minecraft.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://libraries.minecraft.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - http://maven.fabricmc.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - http://maven.fabricmc.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - https://kotlin.bintray.com/kotlinx/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://kotlin.bintray.com/kotlinx/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - https://minecraft.curseforge.com/api/maven/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://minecraft.curseforge.com/api/maven/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - file:/home/sargunv/.gradle/caches/fabric-loom/Cloth-Config.mapped.yarn.4.jar
  - file:/home/sargunv/.gradle/caches/fabric-loom/Cloth.jar
  - file:/home/sargunv/Projects/mc-mods/level-up-hp/.gradle/minecraft/Cloth-Config.mapped.yarn.4.jar
  - file:/home/sargunv/Projects/mc-mods/level-up-hp/.gradle/minecraft/Cloth.jar
  - file:/home/sargunv/Projects/mc-mods/level-up-hp/.gradle/minecraft/remapped_mods/Cloth-Config.mapped.yarn.4.jar
  - file:/home/sargunv/Projects/mc-mods/level-up-hp/.gradle/minecraft/remapped_mods/Cloth.jar
  - https://maven.fabricmc.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://maven.fabricmc.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - https://libraries.minecraft.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://libraries.minecraft.net/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - https://repo.maven.apache.org/maven2/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://repo.maven.apache.org/maven2/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
  - https://jcenter.bintray.com/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.pom
  - https://jcenter.bintray.com/cloth-config/Cloth/Config.mapped.yarn.4/Cloth-Config.mapped.yarn.4.jar
Required by:
    project :
11:56:12 PM: Task execution finished 'build'.
commented

It is a problem on my end, will fix once I am back to home

commented
repositories {
    maven { url "https://minecraft.curseforge.com/api/maven" }
}

dependencies {
    modCompile "cloth-config:ClothConfig:0.1.0.4"
    include "cloth-config:ClothConfig:0.1.0.4"
}

Should work now