CrumblingButtercookie
New member
As an incorrigible weirdo who prefers Mercurial, I've checked out the Kolmafia repository using hg-git.
A build attempt then subsequently fails with
The problem seems to be that while the
A build attempt then subsequently fails with
Code:
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Users\Jan\Documents\KoL\kolmafia_build\kolmafia\build.gradle' line: 338
* What went wrong:
A problem occurred evaluating root project 'KoLmafia'.
> Cannot invoke method log() on null object
The problem seems to be that while the
getRevision() task in the gradle build file is being gated on file('.git').exists(), the pruneDist task, too, makes a call to isDirty() and thereby pulls in the dependency on actually having Git available after all. It's not a big issue as I can work around it by commenting out that bit, but just wanted to mention it, since as per this post Git isn't supposed to be an official build requirement?