Was it necessary to add `formatSettings` to all projects? If it is part of `defaultSettings` can't you just override it by adding the `docFormatSettings` after?  I guess that is the reason for swapping the order of  `multiJvmSettings` and `sampleSettings`?