1

I've been trying my very hardest to get my code on jitpack but am having some issues, I fixed a handful of the initial errors I was getting but am unsure what to do about this one https://jitpack.io/com/github/CoolDCB/GardeningTweaks/fe2ce8646c/build.log

Publishing to maven local works perfectly from my pc and I believe I have done everything correctly https://github.com/CoolDCB/GardeningTweaks/blob/main/build.gradle.kts

I was hoping that I would be able to get this working but am not too sure what else to try

Dave
  • 11
  • 1
  • Yes, it does work in general, as I'm using it for my own project. Perhaps you need to specify `openjdk17` in your jitpack.yml? – Alex R Jul 09 '23 at 12:39
  • I've tried openjdk11 and openjdk17 – Dave Jul 09 '23 at 13:15
  • If I try to build your project, it fails because the env variable which is required by this line is not set `System.getenv("pluginFolder_1-20")`. – Alex R Jul 09 '23 at 14:35
  • Ooh that makes sense, I'll try commenting it out and see if that works at all – Dave Jul 09 '23 at 16:22
  • After commenting that out I am now getting a different error: https://jitpack.io/com/github/CoolDCB/GardeningTweaks/6c1aae9976/build.log – Dave Jul 10 '23 at 00:29
  • It seems like I've got it working but am not entirely sure what fixed it – Dave Jul 10 '23 at 03:54

0 Answers0