qmetrics.net

Shadow

Gradle plugin for fat JARs and dependency shading

Shadow screenshot

Shadow is a Gradle plugin that merges project dependencies into one JAR, relocates packages, transforms files, and can optimize with R8 or ProGuard.

Overview

Shadow plugs into Gradle builds to combine dependency classes and resources into a single output JAR, often called a fat or uber JAR. It processes dependent libraries through jar streams so contents are merged without unpacking everything to disk first.

Two common goals are shipping a runnable application as one archive with a manifest main class started via java -jar, and bundling library dependencies while relocating package names to reduce classpath conflicts when downstream projects use the same libraries at different versions.

The plugin is maintained under the GradleUp organization with plugin ID com.gradleup.shadow, superseding the older com.github.johnrengelman.shadow identifier. Documentation covers user guides, change logs, and a compatibility matrix tying Shadow releases to minimum Gradle and Java versions.

Shadow is presented as the Gradle-side analogue to Maven’s Shade Plugin for similar packaging and relocation tasks.

Key features

  • Fat and uber JAR creation
  • Dependency package relocation
  • File transforms during merge
  • R8 and ProGuard optimization
  • Executable JAR manifest support
  • Stream-based jar merging
  • Library classpath conflict mitigation
  • GradleUp plugin distribution

Use cases

  • Single-jar application releases
  • Shaded libraries for Maven consumers
  • Relocating conflicting dependencies
  • Gradle Java and Kotlin packaging

Tags

Similar software

husky

Lightweight native Git hooks for Node projects

A small npm package that wires Git hooks via core.hooksPath to run checks on commit and push, including lint, tests, and message rules.

  • Uses Git core.hooksPath
  • All client-side Git hooks supported
  • macOS, Linux, and Windows support
JavaScriptLinux, macOS, WindowsDetails →
★ 35.4k⟳ 8 months agoMIT

gulp.js

Streaming JavaScript toolkit for development workflow automation

Gulp automates repetitive development tasks by chaining streaming file transformations. It offers a small API, thousands of plugins, and runs with Node.js and other platforms used in major IDEs.

  • Streaming in-memory file pipelines
  • Minimal task-oriented JavaScript API
  • Large curated plugin ecosystem
JavaScriptCLIDetails →
★ 32.9k⟳ 9 months agoMIT

electron-builder

Packaging and distribution tool for Electron applications

electron-builder produces macOS, Windows, and Linux installers and archives from Electron projects, with built-in auto-update hooks and publishing helpers.

  • Multi-platform installers
  • electron-updater integration
  • GitHub and S3 publishing
TypeScriptLinux, macOS, Windows, DockerDetails →
★ 14.7k⟳ todayMIT

browserify

Node-style CommonJS bundler for browser JavaScript

Browserify walks require() calls in your JavaScript and packs dependencies into one browser file. It supports npm modules, shims for Node core libs, and a CLI plus programmatic API.

  • Recursive require() dependency graph
  • npm module resolution in bundles
  • Node core library shims
JavaScriptCLIDetails →
★ 14.7k⟳ 1 month agoMIT

Jib

Daemonless container image builder for Java applications

Jib builds optimized Docker and OCI images for Java apps without a Docker daemon. It ships as Maven and Gradle plugins, a core library, and a CLI.

  • Maven and Gradle plugins
  • Layered dependency and class splits
  • No Docker daemon required
JavaCLIDetails →
★ 14.5k⟳ todayApache-2.0

Rolldown

Rust JavaScript bundler with Rollup-compatible API

Bundles JavaScript and TypeScript using a Rust core, exposes Rollup-like APIs and plugins, and targets eventual use as Vite's bundler.

  • Rollup-compatible API surface
  • Rollup-style plugin interface
  • Rust implementation core
RustDetails →
★ 14.2k⟳ todayMIT