Primal Magick

Primal Magick

306k Downloads

gradle wrapper bugs

dreamlibrarian opened this issue · 2 comments

commented

Two bits of fun:

  • gradlew (the *nix wrapper script) isn't executable on linux, minor wart: git update-index --chmod=+x gradlew would remediate that.

  • Running gradlew nets me an error:

Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

This seems to be because the gradle/ tree appears to have .gitignored the jarfiles that belong in it in order to have a viable gradle build.

Most likely this could be remediated by adding a line !gradle to your .gitignore and git add gradle to get the jarfile included.

If you want to see what's up, git check-ignore --verbose gradle/wrapper/gradle-wrapper.jar should tell you which pattern in .gitignore is blocking the file.

I'm trying to rebuild the wrapper from scratch and am probably just tripping on dumb stuff.

commented

Arright: successfully got my local env sorted by running mdk/gradlew wrapper from the project tree, so looks like this is relatively easy to recover from.

Upon reflection; once I have a functioning build environment I can do this janitorial shenanigans myself, drop you a PR. Don’t mind me.

commented

Thanks for the PR!