Add input/output properties to createVersionConfig

This allows gradle to skip writing the config file if nothing
relevant has changed.