ben-manes / gradle-versions-plugin

Gradle plugin to discover dependency updates
Apache License 2.0
3.83k stars 200 forks source link

Ignore constraints of own projects ("DefaultProjectDependencyConstraint") #724

Closed Brummolix closed 1 year ago

Brummolix commented 1 year ago

In multimodule projects having external constraints but also constraints to own sub projects it makes no sense to check for updates of the these own subprojects (when using checkConstraints=true)

Dependening on the number of own suprojects and also the network performance of the repositories this can give a huge performance boost (for example a few minutes vs. >2 hours in a concrete project)

ben-manes commented 1 year ago

This looks like a nice improvement to me and sounds like a reasonable change to me. @anuraaga added this feature so maybe he should review it to make sure it's a good idea, as I am a little more naive about constraints and best practices there.

ben-manes commented 1 year ago

Released in v46