Open Clark919 opened 1 year ago
Hi there!
I hadn't yet added a jitpack.yml
file to this repository, which is necessary to allow JitPack to build the source with the proper Java version.
I did this now in this commit: d27b9c9
You should be able to use the short commit hash (d27b9c9) as the version for Origins: Classes in your build.gradle / gradle.properties. Keep in mind doing this the first time requests JitPack to start building that commit, so it will likely time out and then only work on your second or third try. Let me know if it works so I can close the issue. :)
Still unable to download, with the same errors as before (even after multiple attempts to build, this is visible on the Jitpack page also). I have tried both d27b9c9
and d27b9c9d6f42bda93ec5d8e0d01f40e9f48056aa
as hashes for the version number.
Ah, I see. Origins: Classes seems to reference Origins version 1.6.1, which had the same trouble building on JitPack. I committed a change to depend on 1.6.2 in 8faac98 - could you try that short commit hash as the version now?
Still no dice. Is there a specific version of Origins I should be adding as a dependency as well? I'm using v1.6.2
as the current version.
I'm really sorry about this!
As a temporary work-around, you can change the following dependency line in your build.gradle
:
modImplementation "com.github.apace100:origins-fabric:${project.origins_version}"
To:
modImplementation "com.github.eggohito:origins-fabric:${project.origins_version}"
And it should be able to fetch the dependencies then.
As the title suggests, implementing a Jitpack repository that points to any recent version of Origins Classes will fail to download the mod as a dependency.
gradle.properties relevant content:
(does not work with 1.4.0 as the parameter either)
build.gradle relevant content:
Expected: Origins: Classes is implemented as an external library for the mod.
Actual: An error log is produced:
Jitpack Latest Files (https://jitpack.io/#apace100/origins-classes):
Jitpack Build Log (https://jitpack.io/com/github/apace100/origins-classes/v1.4.0/build.log)
I believe I've taken all the necessary steps to implement the mod as a library here. If I've done anything wrong please correct me so I can fix it. Cheers.