com.github.johnrengelman.shadow
Owner:
John Engelman
A Gradle plugin for collapsing all dependencies and project code into a single Jar file. NOTE: This plugin changed the core maintainer and has new coordinates: https://plugins.gradle.org/plugin/com.gradleup.shadow
https://github.com/johnrengelman/shadow
Add this plugin to your build using the plugins DSL:
plugins {
id("com.github.johnrengelman.shadow") version "1.1.2"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:1.1.2") }
It can then be applied in the precompiled script plugin:plugins { id("com.github.johnrengelman.shadow") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:1.1.2") } } apply(plugin = "com.github.johnrengelman.shadow")
- Applying plugins to all subprojects .