Search Gradle plugins

org.openrewrite.build.shadow

Configures the Gradle Shadow plugin to replace the normal jar task output with the shaded jar without a classifier

https://github.com/openrewrite/rewrite-build-gradle-plugin

Sources: https://github.com/openrewrite/rewrite-build-gradle-plugin.git

Using the plugins DSL:

plugins {
  id("org.openrewrite.build.shadow") version "1.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.openrewrite:rewrite-build-gradle-plugin:1.9.0")
  }
}

apply(plugin = "org.openrewrite.build.shadow")

Using the plugins DSL:

plugins {
  id "org.openrewrite.build.shadow" version "1.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.openrewrite:rewrite-build-gradle-plugin:1.9.0"
  }
}

apply plugin: "org.openrewrite.build.shadow"

Learn how to apply plugins to subprojects