# Shading IntelliJ IDEA Dependencies in a Gradle Plugin

DevFeed: [Shading IntelliJ IDEA Dependencies in a Gradle Plugin](<https://devfeed.tech/articles/what-we-do-in-the-shadows-25529.md>)

Original publisher: [Read original article](<https://aleckazakova.com/posts/shading/>)

Author: Author

Published: 2021-04-03T21:24:07Z

Content type: tutorial

Language: en

Sources: [Posts on AlecStrong](<https://devfeed.tech/sources/posts-on-alecstrong.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [Library](<https://devfeed.tech/topics/library.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [intellij-idea](<https://devfeed.tech/tags/intellij-idea.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [plugin](<https://devfeed.tech/tags/plugin.md>)

## AI overview

A practical guide to shading dependencies in a Gradle plugin, focusing on bundling IntelliJ IDEA APIs for SQLDelight. It explains how to inspect shaded JARs and addresses oversized JARs and transitive dependency problems.

## Source excerpt

If you're in the business of publishing JVM libraries its possible you've needed to deal with dependency shading - bundling external jars in with your library and renaming the packages along the way to prevent a diamond dependency conflict. If your published JVM library is built with Gradle it's then likely you've used John Engleman's shading plugin 'shadow'. It's really a fantastic plugin to solve this problem, thank you mr engleman.