!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

103 Members
22 Servers

Load older messages


SenderMessageTime
30 Oct 2024
@tomodachi94:matrix.orgTomodachi94 (they/them)Tracking issue time! 🙃18:27:06
@emilazy:matrix.orgemilynot 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.pom18:27:23
@emilazy:matrix.orgemilyI'm surprised nobody tried to archive it18:27:28
@emilazy:matrix.orgemilywe really need to find a way to build Java dependenciees from source18:27:46
@emilazy:matrix.orgemily * we really need to find a way to build Java dependencies from source18:27:48
@emilazy:matrix.orgemily source is very likely to get archived or have another source, random mystery meat .jars are bad for supply-chain security and bad for longevity 18:28:05
@emilazy:matrix.orgemilyanyway yeah just yeet both the GUI and the CLI. tragic but nothing we can easily do18:28:54
@emilazy:matrix.orgemily unless someone wants to write a from-source jd-core package 18:29:20
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
source is very likely to get archived or have another source, random mystery meat .jars 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
@emilazy:matrix.orgemilydunno if Gradle supports a more "native" way of doing this18:31:19
@emilazy:matrix.orgemily looks like there's some flatDir thing for getting deps from the fs 18:32:03
@emilazy:matrix.orgemilynot sure how bad the incompatible version proliferation is in Java18:32:25
@emilazy:matrix.orgemilyanyway if you update the PR to drop the CLI too I'll merge :(18:35:47
@emilazy:matrix.orgemilythere's actually a jar at https://github.com/java-decompiler/jd-core/releases. we could use that, if we care.18:56:29
@emilazy:matrix.orgemily

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:matrix.orgTomodachi94 (they/them)Ultimately up to you whether or not to update it20:14:01
@tomodachi94:matrix.orgTomodachi94 (they/them)Feel free to close it if you PR a fix20:14:11
@emilazy:matrix.orgemilyyeah I don't care enough :)20:17:35
@emilazy:matrix.orgemily merged; did you want to open a gradle_6 drop? 20:18:17
@emilazy:matrix.orgemilyturns out we could have just used https://jitpack.io/#java-decompiler/jd-core21:21:13
@emilazy:matrix.orgemilyah well21:21:15
@tomodachi94:matrix.orgTomodachi94 (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:matrix.orgTomodachi94 (they/them) @emily should we merge https://github.com/NixOS/nixpkgs/pull/352285 first? 22:38:44
@tomodachi94:matrix.orgTomodachi94 (they/them)(CI decided to die for some reason, re-running the failed things)22:40:26
@emilazy:matrix.orgemilyoh I forgot we didn't merge that one :)22:55:29
@tomodachi94:matrix.orgTomodachi94 (they/them)https://github.com/NixOS/nixpkgs/pull/35249023:15:13
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@emilazy:matrix.org
oh I forgot we didn't merge that one :)
All good :)
23:15:27
@tomodachi94:matrix.orgTomodachi94 (they/them)Gradle 6 will now be completely gone after we merge the PR that removes the package itself 🥳23:16:00
@tomodachi94:matrix.orgTomodachi94 (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
@emilazy:matrix.orgemilywhy?23:17:40

Show newer messages


Back to Room ListRoom Version: 6