Search Gradle plugins

Version 2.0.2

Created 12 December 2017.

Auto configures shadow & package relocation for Gradle plugins.

Using the plugins DSL:

plugins {
  id "com.github.johnrengelman.plugin-shadow" version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.jengelman.gradle.plugins:shadow:2.0.2"
  }
}

apply plugin: "com.github.johnrengelman.plugin-shadow"

Using the plugins DSL:

plugins {
  id("com.github.johnrengelman.plugin-shadow") version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.jengelman.gradle.plugins:shadow:2.0.2")
  }
}

apply(plugin = "com.github.johnrengelman.plugin-shadow")

Learn how to apply plugins to subprojects