Added support for extra inputs to RegularPactTask and TaskConfig.
Fixup.