Kanbaru 🌟 (one hikari of too many)

if you force me to commit a 53KB jar file and multiple shell scripts into my project's VCS because that is simply The One True Way to use your build system…

may your descendants be cursed by large .git directories for 10,000 generations

1 replies β†’
1 replies

samir, an unknown quantity

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari Oh no, did you just install Gradle? πŸ™

Kanbaru 🌟 (one hikari of too many)

(replying to samir, an unknown quantity)

@samir yes :(

samir, an unknown quantity

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari On a weekend, no less. I am truly sorry.

Kanbaru 🌟 (one hikari of too many)

(replying to samir, an unknown quantity)

@samir in truth: actually, gradle was installed quite a while ago, but there's been so many other boilerplate files related to Android that I've been trying to remove from VCS. the gradle wrapper is the last big one left, and this time… there shall be no mercy

samir, an unknown quantity

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari BURN IT ALL.

Sucks it’s gonna live in your version history forever, but at least you don’t have to worry about it growing as you upgrade.

Kanbaru 🌟 (one hikari of too many)

(replying to samir, an unknown quantity)

@samir oh, I have a plan for that! I've been holding off on merging this branch forever because of all the garbage it introduced. I'm soon going to have it fully cleaned up, and then I'll squash-merge it. there'll be a tag for people who want the gory details, but anyone who just pulls down trunk will never have to sully their .git with it :)

samir, an unknown quantity

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari That sounds great! But won’t the tag mean that `git fetch` gets it anyway? Or is that just branches?

Kanbaru 🌟 (one hikari of too many)

(replying to samir, an unknown quantity)

@samir I don't think it fetches all tags by default, at least

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

also may the complete absence of license headers on these files haunt you to your grave

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

dear whoever decided this is The Only Correct Way to use gradle, which is sadly the only practical way to build my project on Android:

i am going to hold a grudge against you until you convince the gradle project to sanction a more reasonable way of doing this, ok? ok.

2 replies β†’
2 replies

Edi'Hael :verified:

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari is maven not an option? I don't remember it being as cursed, but it's also been a while (:

Kanbaru 🌟 (one hikari of too many)

(replying to Edi'Hael :verified:)

@edihael honestly aside from the gradle wrapper thing (which I have a solution to, I just resent that I have to figure it out myself because you're not intended to not have it in VCS) it's working great and I have no complaints

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

@edihael …so I don't have much reason to try to switch to another build system.


Saagar Jha

(replying to Kanbaru 🌟 (one hikari of too many))
@hikari Never use a build system that a platform vendor sells to you but they take care to not use internally

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

(it is taking me So much restraint to not just use the f word)

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

also isn't it absurd that you need a one-hundred-and-sixty-line shell script just to run a jar file, which is supposed to be portable

1 replies β†’
1 replies

Breadbin

(replying to Kanbaru 🌟 (one hikari of too many))

@hikari I have yet to have a proper positive experience with Java after the first few years it was out. It has just turned into the most obfuscate mess of over design and the least easy to deal with solutions possible.

If I see that anything is related to Java I want to avoid it.

YMMV.

Kanbaru 🌟 (one hikari of too many)

(replying to Breadbin)

@breadbin I've occasionally had pleasant interactions with it but I do find Java frameworks tend to be overwrought

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

stole this joke idea from my gf (<3)

the famous Oracle β€œ3 Billion Devices Run Java” banner from the Java installer, but edited to say β€œ3 Billion Repos Contain gradle-wrapper.jar”

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

β€œoh, this is easy to fix”, i thought. β€œi'll simply .gitignore the files and tell people to run gradle wrapper”, i thought.

hahahaha

if i globally install gradle, gradle wrapper crashes! it only works via… the gradle wrapper! what is bootstrapping!

absolute trashfire

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

β€œokay,” i thought. β€œi'll simply tell the user to download and extract the zip file with the gradle wrapper, if they want that.”

h-h-haaaaah. i can't even laugh at this it makes me want to cry

one does not simply Download the gradle wrapper on its own. you must download gradle

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

i am at my wit's end!! i am fucking livid! i cannot believe how up their own arses they must be to expect me to copy their seventy-two fucking kilobytes of ambiguously-licensed scripts into my repo, a script for downloading gradle, which can only be obtained by downloading gradle

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

seventy-two fucking kilobytes of ambiguously-licensed download-and-run-gradle scripts. scripts which are, in fact, the only practical way to download and run gradle. which can only be obtained by downloading and running gradle, which is the thing i need the script for. h. hhhhhhh

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

is this a joke???? is this some kind of fucking prank? i'm being pranked right. are they trying to drive me fucking insane.

i…

i.

i think i'm going to turn off the computer for a while and play piano. i can't deal with this shit

Kanbaru 🌟 (one hikari of too many)

(replying to Kanbaru 🌟 (one hikari of too many))

i'm back. i had a nice, relaxing, fulfilling time practicing piano. my keyboard has a frustrating aspect: the octave setting seems to be unchangeable(???), but you see, i can simply dial in a transposition of -12 semitones.

gradlew, on the other hand, has no solution, no escape,