File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ android {
127127 disable ' GradleCompatible'
128128 }
129129 compileOptions {
130- sourceCompatibility JavaVersion . VERSION_1_8
131- targetCompatibility JavaVersion . VERSION_1_8
130+ sourceCompatibility JavaVersion . VERSION_17
131+ targetCompatibility JavaVersion . VERSION_17
132132 }
133133
134134 sourceSets {
Original file line number Diff line number Diff line change 44# Specifies the JVM arguments used for the daemon process.
55# The setting is particularly useful for tweaking memory settings.
66# Default value: -Xmx1024m -XX:MaxPermSize=256m
7- org.gradle.jvmargs =-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
7+ org.gradle.jvmargs =-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all -Djavax.xml.accessExternalDTD=all
88#
99# When configured, Gradle will run in incubating parallel mode.
1010# This option should only be used with decoupled projects. More details, visit
@@ -17,3 +17,7 @@ OnnxruntimeModule_buildToolsVersion=29.0.2
1717OnnxruntimeModule_compileSdkVersion =34
1818OnnxruntimeModule_minSdkVersion =24
1919OnnxruntimeModule_targetSdkVersion =34
20+
21+ systemProp.javax.xml.parsers.SAXParserFactory =com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
22+ systemProp.javax.xml.transform.TransformerFactory =com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
23+ systemProp.javax.xml.parsers.DocumentBuilderFactory =com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
You can’t perform that action at this time.
0 commit comments