!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

121 Members
27 Servers

Load older messages


SenderMessageTime
30 Oct 2024
@tomodachi94:matrix.orgTomodachi94 (they/them)

I'll take a stab at it, I've been meaning to find an excuse to learn Gradle

05:17:09
@tomodachi94:matrix.orgTomodachi94 (they/them)

Got it working on v8! Had to change a total of 3 lines

05:33:36
@emilazy:matrix.orgemilyexcellent05:34:41
@emilazy:matrix.orgemilymight be worth sending a PR once we're done here05:35:10
@emilazy:matrix.orgemilytwo years isn't so long that they mightn't merge a build system fix05:35:20
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️I wish Matrix a very not every notification needs to vibrate my phone05:36:47
@tomodachi94:matrix.orgTomodachi94 (they/them)

Done: https://github.com/r00t0v3rr1d3/armitage/pull/1 (everything changed that isn't a build.gradle file is fallout from running gradle wrapper --gradle-version 8.0)

05:38:58
@emilazy:matrix.orgemilynice05:40:45
@emilazy:matrix.orgemilylet's just vendor the bits we need in Nixpkgs05:40:54
@tomodachi94:matrix.orgTomodachi94 (they/them)

Yep :) About to file the PR

05:41:06
@tomodachi94:matrix.orgTomodachi94 (they/them)

https://github.com/NixOS/nixpkgs/pull/352285

05:46:42
@emilazy:matrix.orgemily I'm about to sleep, but if you do the fetchpatch for jd-gui and get a removal PR up for gradle_6 I can merge them tomorrow morning worst-case 05:48:43
@emilazy:matrix.orgemilydo we, uh, know when Gradle 9 is due?05:49:55
@tomodachi94:matrix.orgTomodachi94 (they/them)

https://github.com/gradle/gradle/milestone/211 Doesn't look promising

05:50:15
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to @emilazy:matrix.org
I'm about to sleep, but if you do the fetchpatch for jd-gui and get a removal PR up for gradle_6 I can merge them tomorrow morning worst-case

On it :) rest well!

05:50:36
@emilazy:matrix.orgemily
In reply to @tomodachi94:matrix.org

https://github.com/gradle/gradle/milestone/211 Doesn't look promising

otoh I'm seeing a YouTube video from a month ago saying it's coming, and other projects preemptively handling the deprecations
05:51:07
@emilazy:matrix.orgemilyI'm just thinking that this is going to be a lot more painful for 7.05:51:20
@emilazy:matrix.orgemilyeh, maybe not so much. there's fewer users than I thought05:51:39
@tomodachi94:matrix.orgTomodachi94 (they/them)

Off-topic: Gradle supports Swift apparently... https://docs.gradle.org/current/samples/sample_building_swift_applications.html

05:53:15
@emilazy:matrix.orgemilythe mess of a Swift derivation we have would go wonderfully with the Gradle MITM cache stuff05:58:52
@tomodachi94:matrix.orgTomodachi94 (they/them)

Yummy, an error involving MavenOrgSourceLoaderProvider

06:03:35
@tomodachi94:matrix.orgTomodachi94 (they/them)

Yummy, an error involving MavenOrgSourceLoaderProvider on jd-gui

06:03:56
@tomodachi94:matrix.orgTomodachi94 (they/them)

Oh, not as bad as expected, that file isn't used in the build process. Scared me briefly

06:04:57
@emilazy:matrix.orgemilyis that after applying the aur patch I linked?06:05:56
@tomodachi94:matrix.orgTomodachi94 (they/them)

Yep. A different error occurs if I try gradle_7 instead of _8

06:06:25
@emilazy:matrix.orgemilywell, good luck :) I'll check in tomorrow06:06:46
@tomodachi94:matrix.orgTomodachi94 (they/them)

This isn't the first time we had to patch jd-gui to work with a newer Gradle: https://github.com/NixOS/nixpkgs/pull/205841

06:19:42
@tomodachi94:matrix.orgTomodachi94 (they/them)

A while later, I spent a substantial amount of time trying to get a development environment so I could even start making a patch, but Gradle couldn't download jd-core. Considering upstream has had no activity in ~5 years, might be time to drop it

07:01:42
@tomodachi94:matrix.orgTomodachi94 (they/them)

Additionally, the AUR patch conflicts with another patch that we already have on the package

07:03:09
@tomodachi94:matrix.orgTomodachi94 (they/them)

It's currently very late where I am, I'll take another shot at this tomorrow :)

07:04:21

Show newer messages


Back to Room ListRoom Version: 6