Skip to content

Update plugin shadow to v9.6.1 - #1047

Open
renovate[bot] wants to merge 3 commits into
mainfrom
renovate/com.gradleup.shadow-9.x
Open

Update plugin shadow to v9.6.1#1047
renovate[bot] wants to merge 3 commits into
mainfrom
renovate/com.gradleup.shadow-9.x

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.gradleup.shadow 9.4.19.6.1 age confidence

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/com.gradleup.shadow-9.x branch from 321e510 to 6c822f5 Compare July 27, 2026 16:02
@renovate
renovate Bot force-pushed the renovate/com.gradleup.shadow-9.x branch from 6c822f5 to 96755df Compare July 28, 2026 05:18
@egorikftp
egorikftp force-pushed the renovate/com.gradleup.shadow-9.x branch from 10d4417 to e20e685 Compare July 30, 2026 07:21
@egorikftp
egorikftp requested a review from Goooler July 30, 2026 07:21
Comment thread tools/cli/build.gradle.kts
Comment thread tools/cli/build.gradle.kts Outdated
Comment thread tools/cli/build.gradle.kts Outdated
Comment on lines +85 to +94
exclude(group = "com.android.tools.build", module = "aapt2-proto")
exclude(group = "com.android.tools.ddms")
exclude(group = "com.android.tools.layoutlib")
exclude(group = "com.android.tools", module = "sdklib")
exclude(group = "com.google.code.gson")
exclude(group = "com.google.protobuf")
exclude(group = "org.apache.commons")
exclude(group = "org.bouncycastle")
exclude(group = "org.glassfish.jaxb")
exclude(group = "net.sf.kxml")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need these?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s about removing dead, unused code—the same as we have in "idea-plugin" (except Guava). I see that the embedded R8 added more rules from consumer libraries.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can suppress the warnings/errors from R8 by -dontwarn. Or exclude these dependencies in shadowJar.minimize {}. I prefer the first solution.

@egorikftp egorikftp Jul 31, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to use pure R8 logic, but it increases the JAR size by up to ~2 MB compared to the previous approach

@Goooler Goooler linked an issue Jul 30, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CLI] Try out shadow library with r8

2 participants