Skip to content

Conversation

@britter
Copy link
Member

@britter britter commented Jun 6, 2025

Instead of matching for variant names like runtime or compile, the patch DSL now correctly matches the Usage and Category attribute values per variant before modifying a variant. This is more correct, because components published with Gradle module metadata may have variants that don't follow the "standard" names, e.g. Guava uses variant names like jreRuntimeElements and jreApiElements.

Resolves #238

@britter britter changed the title Implement ReduceToCompileOnlyApi based on Attribute, not variant names Implement patch DSL based on variant attribute matching, not variant names Jun 6, 2025
@britter britter changed the title Implement patch DSL based on variant attribute matching, not variant names Implement patch DSL based on variant attribute matching Jun 6, 2025
@britter britter marked this pull request as ready for review June 6, 2025 13:50
@britter britter merged commit ec1d92d into main Jun 6, 2025
6 checks passed
@britter britter deleted the issues/238 branch June 6, 2025 13:54
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.

reduceToCompileOnlyApiDependency does not work for Guava

3 participants