GRADLE-3072 Improved the error reporting when one of the task input properties is not serializable.
GRADLE-3072 non-serializable values inside GStrings are handled gracefully by up-to-date mechanism. It feels that converting from GString should be cross-cutting as we are hitting problems with this in various spots. For now, this helps with input properties serialization.