Search Gradle plugins

com.github.johnrengelman.shadow

A Gradle plugin for collapsing all dependencies and project code into a single Jar file. NOTE: This plugin changed the core maintainer and has new coordinates: https://plugins.gradle.org/plugin/com.gradleup.shadow

https://github.com/johnrengelman/shadow

Version 7.0.0

7.0.0

Created 26 April 2021.

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.github.johnrengelman.shadow") version "7.0.0"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0")
      }
    }
    
    apply(plugin = "com.github.johnrengelman.shadow")
  • Applying plugins to all subprojects .