Search Gradle plugins

com.gradleup.shadow

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

https://github.com/GradleUp/shadow

Sources: https://github.com/GradleUp/shadow

Version 8.3.3 (latest)

8.3.3

Created 02 October 2024.

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

Using the plugins DSL:

plugins {
  id("com.gradleup.shadow") version "8.3.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.gradleup.shadow:shadow-gradle-plugin:8.3.3")
  }
}

apply(plugin = "com.gradleup.shadow")

Using the plugins DSL:

plugins {
  id "com.gradleup.shadow" version "8.3.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.gradleup.shadow:shadow-gradle-plugin:8.3.3"
  }
}

apply plugin: "com.gradleup.shadow"

Learn how to apply plugins to subprojects