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
Current implementation of #487 results in increasing the size of the plugin with 64 MB for each version of the ktlint rules being added. Plugin would grow from almost 60MB (version 0.21.0) to +374MB with 5 different ktlint rulesets included.
The text was updated successfully, but these errors were encountered:
When creating a shadow jar of a specific ktlint ruleset all transitive dependencies are included in that jar. Combining the individual ruleset shadow jars in the plugin-jar blows up the size of the plugin jar as the same dependencies are included multiple times. By first combining the ruleset shadow jars into another shadowed jar the duplicate dependencies are pruned.
Closes#498
When creating a shadow jar of a specific ktlint ruleset all transitive dependencies are included in that jar. Combining the individual ruleset shadow jars in the plugin-jar blows up the size of the plugin jar as the same dependencies are included multiple times. By first combining the ruleset shadow jars into another shadowed jar the duplicate dependencies are pruned.
Closes#498
Current implementation of #487 results in increasing the size of the plugin with 64 MB for each version of the ktlint rules being added. Plugin would grow from almost 60MB (version 0.21.0) to +374MB with 5 different ktlint rulesets included.
The text was updated successfully, but these errors were encountered: