DaedalusGame/Modular-Diversity

Lack of 'libs' folder possibly causes build exception with newly-cloned repository

Opened this issue · 4 comments

Exactly as title says - I cloned this repository today, and when trying to build it, gradle spat out

:extractDependencyATs
Executing task ':extractDependencyATs' (up-to-date check took 0.001 secs) due to:
  No history is available.
file or directory '/home/silfryikalsandryn/Dev/git/modular-diversity/libs', not found
:extractDependencyATs FAILED
:extractDependencyATs (Thread[Daemon worker,5,main]) completed. Took 0.009 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':extractDependencyATs'.
> java.util.zip.ZipException: error in opening zip file

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

when I ran ./gradlew build - and when I traced it back from there, it seems as though because it's missing the deleted libs folder, it fails.
To then test if it's the lack of the folder, I downloaded the files you deleted - and got what seems to be the same error, just without the inability to find the libs folder. Since I don't have an up-to-date version of it I don't know if it actually is that, but it seemed likely.

If it's not that it's something else that's failing and as such I'd love to have a solution.

build.gradle doesn't even reference the libs folder anymore, for a good reason, it's referenced implicitely somehow. I can't tell you whats going on here, because gradle is a beast of chaos and darkness that works sometimes and breaks in incomprehensible ways other times.

If this helps at all, this is my libs folder contents, but it would probably be more reasonable to use the cf plugin to grab those directly from curseforge

explorer_L6Z5KR0mx7

Going to try with these and hope it works. Certainly has been confusing me enough,

... it just threw the same error. I'm now even more confused what's happening here. I'm going to leave the issue open in the hopes that some day something will come up and fix it, but I don't have hopes for that.