Fork me on GitHub
#off-topic
<
2022-12-31
>
jjttjj18:12:34

I'm having to use gradle for the first time to do build tasks with a huge existing monorepo that uses it and finding it... not fun. Partly because I've been struggling to get it to even work, it seems to be picky about what java version is being used and, this part is probably more particular to the project than gradle's fault, but it's not really working on windows. Is distaste for gradle common among clojurists? It's definitely making me appreciate the firm line tools.deps draws with just dealing with deps. But I've also been lazy in learning gradle, hoping I can just google around until I can get a repl with test deps on the classpath without having to learn another thing. I'm starting to get thoughts in my head to just try to extract all dependencies with grep and build a pom file or deps.edn but maybe I should just suck it up and learn it.

andy.fingerhut18:12:02

If the owners/maintainers of the project are willing to answer questions, you could ask them what OS/JVM version combinations they have had success with, and try to start with those.

lread21:12:09

My gradle memories are vague. But I do remember running gradlew at least ties you the build author's intended version of gradle. Back in the day the idea of gradle was an interesting alternative to the rigidity of maven.

phill23:12:20

Probably not well-informed "distaste", but the thing is that Gradle and Leiningen are contemporaries in the "easier mvn" space, and Leiningen's Clojure-project ergonomics remain unmatched to this day.