We have the following in our build…gradle:
// enable TestNG support (default is JUnit)
The results file all build a header like the following:
[lt]?xml version=“1.1” encoding=“UTF-8”?[gt]
This is causing the Jenking testng report plugin to fail with the following error
org.xmlpull.v1.XmlPullParserException: only 1.0 is supported as <?xml version not ‘1.1’ (position: START_DOCUMENT seen <?xml version=“1.1”… @1:19)
Is there some setting I can change to convince gradle to generate the testng results as version=1.0?