Closed emartynov closed 8 months ago
See release notes. Gradle requires system properties to allow xml parsing as many plugins, e.g. android, including the legacy xerces parser.
Thank you!
Adding these lines to gradle.properties
works:
systemProp.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
systemProp.javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
systemProp.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
I wonder when I should remove them.
You can look at buildEnvironment to see what pulls in xerces and try an exclusion, but when/if depends on the plugin.
Might be gradle issue (Gradle version
8.4
).I see in info log
And way down below:
I downloaded
maven-metadata.xml
forjunit jupiter
but I don't see such property inside.