skip to content

JVM Packaging Plugins

Turning a JVM project into something runnable and shippable: the application plugin, start scripts and installs, distribution archives, and fat jars. Interviewers ask because this is the last mile between a build and a deployable.

on this pageshow

explore

questions

page 2 of 2

How do you make distTar produce a compressed, reproducible archive, and what knobs control compression?

level: seniorimportance: nice to knowfreq 18%

basics

~10 s

Configure the distTar task: set compression = Compression.GZIP to produce a .tgz-style gzip tar, and set isReproducibleFileOrder = true and isPreserveFileTimestamps = false for byte-stable, reproducible archives.

open as a page

showing 31–31 of 31