Skip to content

Compare jdependency and R8 in minimization - #2280

Merged
Goooler merged 2 commits into
mainfrom
g/20260903/document-r8
Sep 3, 2026
Merged

Compare jdependency and R8 in minimization#2280
Goooler merged 2 commits into
mainfrom
g/20260903/document-r8

Conversation

@Goooler

@Goooler Goooler commented Sep 3, 2026

Copy link
Copy Markdown
Member

Closes #2275.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The overview table currently implies unconditional SPI preservation for R8 and the PR description’s “Closes #2275” references a pull request rather than an issue, both of which should be corrected for accuracy/clarity.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the minimization documentation to help users choose between Shadow’s built-in dependency analyzer (jdependency-based) and the R8 backend, clarifying tradeoffs and typical use cases.

Changes:

  • Expands the introduction to describe minimization at the JAR/class/code level.
  • Adds an “Overview & Choosing a Minimization Tool” section with a comparison table for DEPENDENCY_ANALYZER vs R8.
  • Updates the exclusion guidance to mention Java SPI (ServiceLoader) and adds a reference link to jdependency.
File summaries
File Description
docs/configuration/minimizing/README.md Adds a tool-comparison overview and refines minimization guidance/links.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/configuration/minimizing/README.md
Comment thread docs/configuration/minimizing/README.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Goooler
Goooler merged commit d436061 into main Sep 3, 2026
5 checks passed
@Goooler
Goooler deleted the g/20260903/document-r8 branch September 3, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants