Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused implementation dependencies or move them to runtime #3168

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

idelpivnitskiy
Copy link
Member

@idelpivnitskiy idelpivnitskiy commented Jan 10, 2025

Motivation:

Dependency-analysis plugin detected that some implementation dependencies are unused and can be either removed or downgraded to runtimeOnly / testImplementation scopes.

Modifications:

  • Remove unused implementation dependencies.
  • Downgrade required to runtimeOnly / testImplementation scopes.
  • Regenerate lock files.

Result:

Addresses warning from dependency-analysis plugin that recommends cleaning up implementation dependencies.

Risk for users:

Should be none, as implementation dependencies they were runtime for our users. So, they could not depend on that code directly without explicitly declaring them in their build file.

Motivation:

Dependency-analysis plugin detected that some `implementation`
dependencies are unused can can be either removed or downgraded to
`runtimeOnly` / `testImplementation` scopes.

Modifications:

- Remove unused `implementation` dependencies.
- Downgrade required to `runtimeOnly` / `testImplementation` scopes.
- Regenerate lock files.

Result:

Addresses warning from dependency-analysis plugin that recommend
cleaning up `implementation` dependencies.

Risk for users:

Should be none, as `implementation` dependencies they were `runtime` for
our users. So, they could not depend on that code directly without
explicitly declaring them in their build file.
@idelpivnitskiy idelpivnitskiy merged commit e87371c into apple:main Jan 11, 2025
11 checks passed
@idelpivnitskiy idelpivnitskiy deleted the impl-deps branch January 11, 2025 00:18
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