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 pageshowhide
explore
- Application Plugin5 questions
- installDist and Start Scripts5 questions
- distZip and distTar Archives5 questions
- Distribution Plugin5 questions
- Custom Distributions and Arbitrary Content5 questions
- Shadow Plugin (Fat/Uber Jar)6 questions
questions
page 2 of 2How do you make distTar produce a compressed, reproducible archive, and what knobs control compression?
level: seniorimportance: nice to knowfreq 18%
basics
~10 sConfigure 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.
showing 31–31 of 31