You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if this plugin is used, sometimes users need to add their own rules. In certain cases, there is not the "one truth", but it depends on the usage context which things you want/need to adjust in the metadata for a library. This is clunky with vanilla Gradle if you want the rules to be @CacheableRule, as you need to create a separate class for each rule, instead of a "one-liner" in the build script.
If we are in Java/JVM projects, there are certain patterns for rules you usually need. This plugin could provide a parameterisable rule for each of these:
Add a capability (to all variants)
Add dependencies (to all variants)
Remove dependencies (from all variants)
Make a feature known (classifier Jar exists, but is not in the metadata)
Add alignment constraints to all components of a library (related Alignment rules #22)
Even if this plugin is used, sometimes users need to add their own rules. In certain cases, there is not the "one truth", but it depends on the usage context which things you want/need to adjust in the metadata for a library. This is clunky with vanilla Gradle if you want the rules to be
@CacheableRule
, as you need to create a separate class for each rule, instead of a "one-liner" in the build script.If we are in Java/JVM projects, there are certain patterns for rules you usually need. This plugin could provide a parameterisable rule for each of these:
The text was updated successfully, but these errors were encountered: