Search Gradle plugins

Version 2.0.0

Created 09 May 2017.

Auto configures shadow & package relocation for Gradle plugins.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects