Disable failOnVersionConflict?

(Dylan Cali) #1

I would like to turn on failOnVersionConflict by default for our team by setting this in a plugin everyone will use in their projects. However there are times (printing the dependency graph/project report to determine where conflicts are occurring) when it would be nice to temporarily disable this.

There doesn’t seem to be a way to actually toggle failOnVersionConflict using the ResolutionStrategy DSL, so the only way I can think to do this is by creating a custom property and checking that. Before I go that route though I wanted to make sure there actually is no way to toggle failOnVersionConflict using the DSL.