Gradle 2.0 gives "DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true"

Gradle 2.0 gives "DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true"