MrCrayfish / GoblinTraders

Adds goblins that trade speical items with the player!
MIT License
52 stars 37 forks source link

Is this published as a Maven package anywhere? #71

Open chimericdream opened 1 year ago

chimericdream commented 1 year ago

I wanted to add compatibility between the No Enchant Cap mod and this one, so that the gamerule from NEC which uncaps the level limit on anvils would still work. I saw your comment on the Apotheosis issue, so I figured a mixin that targeted your Hooks class was the way to go. However, I am having trouble pulling it in as a dependency in my project. I know it only needs to be a compile-time dependency, and the mixin can conditionally load based on whether both mods are present.

I have tried the following variations in my local build.gradle file:

dependencies {
    ...
    implementation("com.mrcrayfish:goblintraders-fabric:1.8.1")
}

dependencies {
    ...
    modImplementation("com.mrcrayfish:goblintraders-fabric:1.8.1")
}

dependencies {
    ...
    compileOnly group:'com.mrcrayfish', name:'goblintraders-fabric', version:'1.8.1'
}

These obviously are not correct, but I suspect any of them would probably work if Maven could find the jar someplace. I understand if you prefer not to push the artifacts to a public repo. However, if that is the case, do you know of a way that I can add a compile-time dependency on Goblin Traders?

Thanks!