| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
plugins {
id 'com.github.johnrengelman.shadow' version '@version@'
id 'java'
}Alternatively, the plugin can be added to the buildscript classpath and applied:
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'com.github.johnrengelman:shadow:@version@'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'NOTE: The correct maven coordinates for each version of Shadow can be found by referencing the Gradle Plugin documentation here.
Shadow is a reactive plugin. This means that applying Shadow by itself will perform no configuration on your project. Instead, Shadow reacts This means, that for most users, the java or groovy plugins must be explicitly applied to have the desired effect.
In the presence of the java or groovy plugins, Shadow will automatically configure the following behavior:
Shadow ships with a companion task that can be used to automatically discover dependency packages and configure them for relocation. This is useful in projects if you want to relocate all dependencies.
For more details see the section Using Shadow to Package Gradle Plugins
| Back | FazBrowse Home | New Git URL |