| 30 Oct 2024 |
Tomodachi94 (they/them) | I'll take a stab at it, I've been meaning to find an excuse to learn Gradle
| 05:17:09 |
Tomodachi94 (they/them) | Got it working on v8! Had to change a total of 3 lines
| 05:33:36 |
emily | excellent | 05:34:41 |
emily | might be worth sending a PR once we're done here | 05:35:10 |
emily | two years isn't so long that they mightn't merge a build system fix | 05:35:20 |
Infinidoge 🏳️⚧️ | I wish Matrix a very not every notification needs to vibrate my phone | 05:36:47 |
Tomodachi94 (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 |
emily | nice | 05:40:45 |
emily | let's just vendor the bits we need in Nixpkgs | 05:40:54 |
Tomodachi94 (they/them) | Yep :) About to file the PR
| 05:41:06 |
Tomodachi94 (they/them) | https://github.com/NixOS/nixpkgs/pull/352285
| 05:46:42 |
emily | 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 |
emily | do we, uh, know when Gradle 9 is due? | 05:49:55 |
Tomodachi94 (they/them) | https://github.com/gradle/gradle/milestone/211 Doesn't look promising
| 05:50:15 |
Tomodachi94 (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 |
emily | 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 |
emily | I'm just thinking that this is going to be a lot more painful for 7. | 05:51:20 |
emily | eh, maybe not so much. there's fewer users than I thought | 05:51:39 |
Tomodachi94 (they/them) | Off-topic: Gradle supports Swift apparently... https://docs.gradle.org/current/samples/sample_building_swift_applications.html
| 05:53:15 |
emily | the mess of a Swift derivation we have would go wonderfully with the Gradle MITM cache stuff | 05:58:52 |
Tomodachi94 (they/them) | Yummy, an error involving MavenOrgSourceLoaderProvider
| 06:03:35 |
Tomodachi94 (they/them) | Yummy, an error involving MavenOrgSourceLoaderProvider on jd-gui
| 06:03:56 |
Tomodachi94 (they/them) | Oh, not as bad as expected, that file isn't used in the build process. Scared me briefly
| 06:04:57 |
emily | is that after applying the aur patch I linked? | 06:05:56 |
Tomodachi94 (they/them) | Yep. A different error occurs if I try gradle_7 instead of _8
| 06:06:25 |
emily | well, good luck :) I'll check in tomorrow | 06:06:46 |
Tomodachi94 (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 (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 (they/them) | Additionally, the AUR patch conflicts with another patch that we already have on the package
| 07:03:09 |
Tomodachi94 (they/them) | It's currently very late where I am, I'll take another shot at this tomorrow :)
| 07:04:21 |