From eafcd7c482b3abbfaa5d2bb8ca37f0672416ad0e Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Tue, 12 Dec 2023 17:06:35 +0100 Subject: [PATCH] Use unsecure parsers --- gradle.properties | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index cfb250417..b9cd10eba 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,4 +24,10 @@ android.defaults.buildfeatures.buildconfig=true android.nonFinalResIds=false android.nonTransitiveRClass=false android.useAndroidX=true -org.gradle.jvmargs="-Xmx4608m" \ No newline at end of file +org.gradle.jvmargs="-Xmx4608m" + +# No clue why this is needed, but the docs do not to explain it. +# https://docs.gradle.org/current/userguide/upgrading_version_8.html#xml_parsing_now_requires_recent_parsers +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 \ No newline at end of file