EMI

EMI

1M Downloads

Implementing 0.2.0 into workspace fails.

MerchantPug opened this issue ยท 3 comments

commented

I think the maven upload broke.

A problem occurred configuring root project 'apoli'.
> Could not resolve all dependencies for configuration ':modImplementation'.
   > Could not find null:unspecified:null.
     Searched in the following locations:
       - file:/C:/Users/Pug/Desktop/Programs/mcmods/apoli/.gradle/loom-cache/remapped_mods/null/unspecified/null/unspecified-null.pom
       - https://maven.fabricmc.net/null/unspecified/null/unspecified-null.pom
       - https://libraries.minecraft.net/null/unspecified/null/unspecified-null.pom
       - https://libraries.minecraft.net/null/unspecified/null/unspecified-null.jar
       - https://repo.maven.apache.org/maven2/null/unspecified/null/unspecified-null.pom
       - file:/C:/Users/Pug/.gradle/caches/fabric-loom/null/unspecified.jar
       - file:/C:/Users/Pug/Desktop/Programs/mcmods/apoli/.gradle/loom-cache/null/unspecified.jar
       - https://ladysnake.jfrog.io/artifactory/mods/null/unspecified/null/unspecified-null.pom
       - https://jitpack.io/null/unspecified/null/unspecified-null.pom
       - https://maven.shedaniel.me/null/unspecified/null/unspecified-null.pom
       - https://maven.terraformersmc.com/null/unspecified/null/unspecified-null.pom
       - file:/C:/Users/Pug/.m2/repository/null/unspecified/null/unspecified-null.pom
     Required by:
         project : > dev.emi:emi:0.2.0+1.19

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

I have tested it with 0.1.2+1.18.2 too and that worked. It's this version specifically

commented

Thank you for the response, I'll mark this as closed.

commented

Hi, I made a mistake when publishing this version to maven, and it included an errant transitive local dependency, gradle is weird. You can resolve this by adding { transitive = false } to the EMI dep