Skip to content

Conversation

@Goooler
Copy link

@Goooler Goooler commented Sep 25, 2025

Run `diffuse diff --jar old/retrace.jar new/retrace.jar > retrace.jar.diff`

OLD: retrace.jar
NEW: retrace.jar

 JAR   │ old       │ new       │ diff
───────┼───────────┼───────────┼────────
 class │  18.6 MiB │  18.6 MiB │ -6 KiB
 other │ 147.5 KiB │ 147.5 KiB │    0 B
───────┼───────────┼───────────┼────────
 total │  18.7 MiB │  18.7 MiB │ -6 KiB

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼────────────
 classes │  4982 │  4981 │ -1 (+0 -1)
 methods │ 50236 │ 50236 │  0 (+0 -0)
  fields │ 14109 │ 14109 │  0 (+0 -0)

=================
====   JAR   ====
=================

 size │ diff     │ path
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class
──────┼──────────┼─────────────────────────────────────────
  0 B │   -6 KiB │ (total)

Run `diffuse diff --jar old/proguardgui.jar new/proguardgui.jar > proguardgui.jar.diff`

OLD: proguardgui.jar
NEW: proguardgui.jar

 JAR   │ old       │ new       │ diff   
───────┼───────────┼───────────┼────────
 class │  18.8 MiB │  18.8 MiB │ -6 KiB 
 other │ 240.6 KiB │ 240.6 KiB │    0 B 
───────┼───────────┼───────────┼────────
 total │  19.1 MiB │  19.1 MiB │ -6 KiB 

 CLASSES │ old   │ new   │ diff       
─────────┼───────┼───────┼────────────
 classes │  5087 │  5086 │ -1 (+0 -1) 
 methods │ 51116 │ 51116 │  0 (+0 -0) 
  fields │ 14524 │ 14524 │  0 (+0 -0) 

=================
====   JAR   ====
=================

 size │ diff     │ path                                    
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class                     
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class 
──────┼──────────┼─────────────────────────────────────────
  0 B │   -6 KiB │ (total)                                 

Run `diffuse diff --jar old/proguard.jar new/proguard.jar > proguard.jar.diff`

OLD: proguard.jar
NEW: proguard.jar

 JAR   │ old       │ new       │ diff   
───────┼───────────┼───────────┼────────
 class │  18.6 MiB │  18.6 MiB │ -6 KiB 
 other │ 147.6 KiB │ 147.6 KiB │    0 B 
───────┼───────────┼───────────┼────────
 total │  18.7 MiB │  18.7 MiB │ -6 KiB 

 CLASSES │ old   │ new   │ diff       
─────────┼───────┼───────┼────────────
 classes │  4975 │  4974 │ -1 (+0 -1) 
 methods │ 50184 │ 50184 │  0 (+0 -0) 
  fields │ 14052 │ 14052 │  0 (+0 -0) 

=================
====   JAR   ====
=================

 size │ diff     │ path                                    
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class                     
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class 
──────┼──────────┼─────────────────────────────────────────
  0 B │   -6 KiB │ (total)                                 

Run `diffuse diff --jar old/proguard-ant.jar new/proguard-ant.jar > proguard-ant.jar.diff`

OLD: proguard-ant.jar
NEW: proguard-ant.jar

 JAR   │ old       │ new       │ diff     
───────┼───────────┼───────────┼──────────
 class │  22.9 MiB │  22.9 MiB │   -6 KiB 
 other │ 204.8 KiB │ 202.3 KiB │ -2.5 KiB 
───────┼───────────┼───────────┼──────────
 total │  23.1 MiB │  23.1 MiB │ -8.5 KiB 

 CLASSES │ old   │ new   │ diff       
─────────┼───────┼───────┼────────────
 classes │  6158 │  6157 │ -1 (+0 -1) 
 methods │ 64173 │ 64173 │  0 (+0 -0) 
  fields │ 19680 │ 19680 │  0 (+0 -0) 

=================
====   JAR   ====
=================

 size │ diff     │ path                                    
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class                     
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class 
      │ -2.5 KiB │ - META-INF/INDEX.LIST                   
──────┼──────────┼─────────────────────────────────────────
  0 B │ -8.5 KiB │ (total)                                 

Run `diffuse diff --jar proguard-gradle-7.7.1-old.jar proguard-gradle-7.7.1-new.jar > proguard-gradle-7.7.1.jar.diff`

OLD: proguard-gradle-7.7.1-old.jar
NEW: proguard-gradle-7.7.1-new.jar

 JAR   │ old       │ new       │ diff   
───────┼───────────┼───────────┼────────
 class │  18.8 MiB │  18.8 MiB │ -6 KiB 
 other │ 148.4 KiB │ 148.5 KiB │  +21 B 
───────┼───────────┼───────────┼────────
 total │  18.9 MiB │  18.9 MiB │ -6 KiB 

 CLASSES │ old   │ new   │ diff       
─────────┼───────┼───────┼────────────
 classes │  5038 │  5037 │ -1 (+0 -1) 
 methods │ 50946 │ 50946 │  0 (+0 -0) 
  fields │ 14196 │ 14196 │  0 (+0 -0) 

=================
====   JAR   ====
=================

 size  │ diff     │ path                                    
───────┼──────────┼─────────────────────────────────────────
       │ -4.6 KiB │ - module-info.class                     
       │ -1.4 KiB │ - META-INF/versions/9/module-info.class 
 108 B │    +21 B │ ∆ META-INF/MANIFEST.MF                  
───────┼──────────┼─────────────────────────────────────────
 108 B │   -6 KiB │ (total)                                 

}
}

assemble.dependsOn fatJar
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shadowJar tasks are relied on by assemble tasks from Shadow 9.

configurations = [project.configurations.runtimeClasspath]
manifest {
attributes(
'Manifest-Version': '1.0',
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the default value, we don't need to declare them explicitly.

Run `diffuse diff --jar old/retrace.jar new/retrace.jar > retrace.jar.diff`

```
OLD: retrace.jar
NEW: retrace.jar

 JAR   │ old       │ new       │ diff
───────┼───────────┼───────────┼────────
 class │  18.6 MiB │  18.6 MiB │ -6 KiB
 other │ 147.5 KiB │ 147.5 KiB │    0 B
───────┼───────────┼───────────┼────────
 total │  18.7 MiB │  18.7 MiB │ -6 KiB

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼────────────
 classes │  4982 │  4981 │ -1 (+0 -1)
 methods │ 50236 │ 50236 │  0 (+0 -0)
  fields │ 14109 │ 14109 │  0 (+0 -0)

=================
====   JAR   ====
=================

 size │ diff     │ path
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class
──────┼──────────┼─────────────────────────────────────────
  0 B │   -6 KiB │ (total)
```

Run `diffuse diff --jar old/proguardgui.jar new/proguardgui.jar > proguardgui.jar.diff`

```
OLD: proguardgui.jar
NEW: proguardgui.jar

 JAR   │ old       │ new       │ diff
───────┼───────────┼───────────┼────────
 class │  18.8 MiB │  18.8 MiB │ -6 KiB
 other │ 240.6 KiB │ 240.6 KiB │    0 B
───────┼───────────┼───────────┼────────
 total │  19.1 MiB │  19.1 MiB │ -6 KiB

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼────────────
 classes │  5087 │  5086 │ -1 (+0 -1)
 methods │ 51116 │ 51116 │  0 (+0 -0)
  fields │ 14524 │ 14524 │  0 (+0 -0)

=================
====   JAR   ====
=================

 size │ diff     │ path
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class
──────┼──────────┼─────────────────────────────────────────
  0 B │   -6 KiB │ (total)
```

Run `diffuse diff --jar old/proguard.jar new/proguard.jar > proguard.jar.diff`

```
OLD: proguard.jar
NEW: proguard.jar

 JAR   │ old       │ new       │ diff
───────┼───────────┼───────────┼────────
 class │  18.6 MiB │  18.6 MiB │ -6 KiB
 other │ 147.6 KiB │ 147.6 KiB │    0 B
───────┼───────────┼───────────┼────────
 total │  18.7 MiB │  18.7 MiB │ -6 KiB

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼────────────
 classes │  4975 │  4974 │ -1 (+0 -1)
 methods │ 50184 │ 50184 │  0 (+0 -0)
  fields │ 14052 │ 14052 │  0 (+0 -0)

=================
====   JAR   ====
=================

 size │ diff     │ path
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class
──────┼──────────┼─────────────────────────────────────────
  0 B │   -6 KiB │ (total)
```

Run `diffuse diff --jar old/proguard-ant.jar new/proguard-ant.jar > proguard-ant.jar.diff`

```
OLD: proguard-ant.jar
NEW: proguard-ant.jar

 JAR   │ old       │ new       │ diff
───────┼───────────┼───────────┼──────────
 class │  22.9 MiB │  22.9 MiB │   -6 KiB
 other │ 204.8 KiB │ 202.3 KiB │ -2.5 KiB
───────┼───────────┼───────────┼──────────
 total │  23.1 MiB │  23.1 MiB │ -8.5 KiB

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼────────────
 classes │  6158 │  6157 │ -1 (+0 -1)
 methods │ 64173 │ 64173 │  0 (+0 -0)
  fields │ 19680 │ 19680 │  0 (+0 -0)

=================
====   JAR   ====
=================

 size │ diff     │ path
──────┼──────────┼─────────────────────────────────────────
      │ -4.6 KiB │ - module-info.class
      │ -1.4 KiB │ - META-INF/versions/9/module-info.class
      │ -2.5 KiB │ - META-INF/INDEX.LIST
──────┼──────────┼─────────────────────────────────────────
  0 B │ -8.5 KiB │ (total)
```

Run `diffuse diff --jar proguard-gradle-7.7.1-old.jar proguard-gradle-7.7.1-new.jar > proguard-gradle-7.7.1.jar.diff`

```
OLD: proguard-gradle-7.7.1-old.jar
NEW: proguard-gradle-7.7.1-new.jar

 JAR   │ old       │ new       │ diff
───────┼───────────┼───────────┼────────
 class │  18.8 MiB │  18.8 MiB │ -6 KiB
 other │ 148.4 KiB │ 148.5 KiB │  +21 B
───────┼───────────┼───────────┼────────
 total │  18.9 MiB │  18.9 MiB │ -6 KiB

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼────────────
 classes │  5038 │  5037 │ -1 (+0 -1)
 methods │ 50946 │ 50946 │  0 (+0 -0)
  fields │ 14196 │ 14196 │  0 (+0 -0)

=================
====   JAR   ====
=================

 size  │ diff     │ path
───────┼──────────┼─────────────────────────────────────────
       │ -4.6 KiB │ - module-info.class
       │ -1.4 KiB │ - META-INF/versions/9/module-info.class
 108 B │    +21 B │ ∆ META-INF/MANIFEST.MF
───────┼──────────┼─────────────────────────────────────────
 108 B │   -6 KiB │ (total)
```
@sonarqubecloud
Copy link

@rubenpieters
Copy link
Contributor

In the compatibility matrix ( https://github.com/GradleUp/shadow ) I see that this raises the minimum java version. This is the minimum version for someone building this project, not the minimum java version of the actual jar, is that correct?

@Goooler
Copy link
Author

Goooler commented Sep 29, 2025

That's the JDK to run, which means "the minimum version for someone building this project".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants