| 30 Oct 2024 |
emily | dunno if Gradle supports a more "native" way of doing this | 18:31:19 |
emily | looks like there's some flatDir thing for getting deps from the fs | 18:32:03 |
emily | not sure how bad the incompatible version proliferation is in Java | 18:32:25 |
emily | anyway if you update the PR to drop the CLI too I'll merge :( | 18:35:47 |
emily | there's actually a jar at https://github.com/java-decompiler/jd-core/releases. we could use that, if we care. | 18:56:29 |
emily | the actual Gradle fixes were trivial
diff --git a/build.gradle b/build.gradle
index 8fd6d27a49..20c6c2461c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,16 +1,14 @@
buildscript {
repositories {
- jcenter()
+ mavenCentral()
}
dependencies {
- classpath 'edu.sc.seis.gradle:launch4j:2.4.4'
classpath 'net.sf.proguard:proguard-gradle:6.1.0'
}
}
apply plugin: 'java'
apply plugin: 'distribution'
-apply plugin: 'edu.sc.seis.launch4j'
// Common configuration //
rootProject.version='1.6.6'
@@ -29,7 +27,7 @@
}
repositories {
- jcenter()
+ mavenCentral()
}
configurations {
@@ -105,16 +103,3 @@
libraryjars System.getProperty('java.home') + '/lib/rt.jar'
libraryjars System.getProperty('java.home') + '/jmods/'
}
-
-// Java executable wrapper for Windows //
-launch4j {
- createExe.dependsOn 'proguard'
-
- version = textVersion = project.version
- fileDescription = productName = 'JD-GUI'
- errTitle 'JD-GUI Windows Wrapper'
- copyright 'JD-GUI (C) 2008-2019 Emmanuel Dupuy'
- icon projectDir.path + '/src/launch4j/resources/images/jd-gui.ico'
- jar projectDir.path + '/' + proguard.outJarFiles[0]
- bundledJrePath = '%JAVA_HOME%'
-}
| 18:56:52 |
Tomodachi94 (they/them) | Ultimately up to you whether or not to update it | 20:14:01 |
Tomodachi94 (they/them) | Feel free to close it if you PR a fix | 20:14:11 |
emily | yeah I don't care enough :) | 20:17:35 |
emily | merged; did you want to open a gradle_6 drop? | 20:18:17 |
emily | turns out we could have just used https://jitpack.io/#java-decompiler/jd-core | 21:21:13 |
emily | ah well | 21:21:15 |
Tomodachi94 (they/them) | In reply to@emilazy:matrix.org merged; did you want to open a gradle_6 drop? Sure thing, I can take care of it in maybe 20-30 minutes | 21:31:59 |
Tomodachi94 (they/them) | @emily should we merge https://github.com/NixOS/nixpkgs/pull/352285 first? | 22:38:44 |
Tomodachi94 (they/them) | (CI decided to die for some reason, re-running the failed things) | 22:40:26 |
emily | oh I forgot we didn't merge that one :) | 22:55:29 |
Tomodachi94 (they/them) | https://github.com/NixOS/nixpkgs/pull/352490 | 23:15:13 |
Tomodachi94 (they/them) | In reply to@emilazy:matrix.org oh I forgot we didn't merge that one :) All good :) | 23:15:27 |
Tomodachi94 (they/them) | Gradle 6 will now be completely gone after we merge the PR that removes the package itself 🥳 | 23:16:00 |
Tomodachi94 (they/them) | In reply to@tomodachi94:matrix.org https://github.com/NixOS/nixpkgs/pull/352490 I'm not super keen on using endoflife.date in the changelog though | 23:17:14 |
emily | why? | 23:17:40 |
emily | it's a strong source IMO | 23:17:45 |
emily | I've used it for my macOS announcements | 23:17:51 |
Tomodachi94 (they/them) | In reply to@emilazy:matrix.org it's a strong source IMO Mostly that it's third party. I suspect a better link doesn't exist though :) | 23:18:37 |
emily | well, endoflife links to https://docs.gradle.org/current/userguide/feature_lifecycle.html#eol_support | 23:19:08 |
emily |
For major versions, Gradle will backport critical fixes and security fixes to the last minor in the previous major version. For example, when Gradle 7 was the latest major version, several releases were made in the 6.x line, including Gradle 6.9 (and subsequent releases).
| 23:19:16 |
emily |
The major version before the previous one to become end-of-life (EOL), and that release line will not receive any new fixes.
| 23:19:19 |
Tomodachi94 (they/them) | True, but it's not very specific and doesn't provide the specific date that 6 went EOL. Let's keep endoflife.date | 23:20:21 |
emily | you're missing an alias | 23:23:15 |
Tomodachi94 (they/them) | Oh oops, fixing | 23:23:54 |