No artifact for Fabric available
xieve opened this issue ยท 6 comments
See e.g. the end of this log. I think the Fabric target is built, too, but for whatever reason, the artifact isn't listed as found and hence not available.
Why are you trying to put our stuff on Jitpack? We have a Maven repository, why not just request we publish artifacts there, lol
I went ahead and did that, the repo URL is https://repo.codemc.io/repository/maven-public/
Fabric dependency would be:
implementation("com.dfsek.terra.fabric:fabric:5.1.2-BETA+7a703ad0")
Oof, I simply didn't know and didn't see it. Maybe put it in the readme? Thanks for the fix
I added modImplementation 'com.dfsek.terra.fabric:fabric:5.1.2-BETA+7a703ad0'
to my build.gradle along with the maven repo. ./gradlew --info --refresh-dependencies
runs fine now, but the jar isn't actually listed in external dependencies
And it's missing all packages in com.dfsek.terra.fabric on compilation. I can also confirm that my setup works with the bukkit version (it appears in the IntelliJ external dependency list and is usable for imports): this is definitely an issue with the Fabric artifact specifically. Not sure if I should open another issue.
Why are you using
modImplementation
... usecompileOnly
The problem persists:
This shows the Bukkit jar being listed correctly as an optional dependency, while the Fabric jar doesn't appear at all but instead seems to be silently dropped or something, I'm not sure. (I only added the Bukkit one to demonstrate that the rest of the config is working)
Here's my build.gradle for reference: https://github.com/xieve/terra-compat/blob/master/build.gradle#L36