Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Information Provided
-
4.0.0
-
None
-
None
Description
After updating from Groovy 3 to 4.0.0 scripts that use AntBuilder without an import statement no longer work.
This is probably caused by missing default includes for groovy.ant.* or groovy.ant.AntBuilder.
The same problem exists for XmlSlurper and XmlParser.
Example: The script below works with Groovy 3.0.9 but not with 4.0.0.
new AntBuilder()