30 Oct 2024 |
Tomodachi94 (they/them) | Tracking issue time! 🙃 | 18:27:06 |
emily | not on Wayback either: https://web.archive.org/web/20240000000000*/https://jcenter.bintray.com/org/jd/jd-core/1.1.3/jd-core-1.1.3.pom | 18:27:23 |
emily | I'm surprised nobody tried to archive it | 18:27:28 |
emily | we really need to find a way to build Java dependenciees from source | 18:27:46 |
emily | * we really need to find a way to build Java dependencies from source | 18:27:48 |
emily | source is very likely to get archived or have another source, random mystery meat .jar s are bad for supply-chain security and bad for longevity | 18:28:05 |
emily | anyway yeah just yeet both the GUI and the CLI. tragic but nothing we can easily do | 18:28:54 |
emily | unless someone wants to write a from-source jd-core package | 18:29:20 |
emily | In reply to @emilazy:matrix.org source is very likely to get archived or have another source, random mystery meat .jar s are bad for supply-chain security and bad for longevity sketch of a solution: we MITM to file:/// and maintain a reverse DNS → Nixpkgs package mapping | 18:31:10 |
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 |