23 lines
1.3 KiB
Properties
23 lines
1.3 KiB
Properties
# Android
|
|
android.useAndroidX=true
|
|
android.enableJetifier=false
|
|
android.nonTransitiveRClass=true
|
|
## Disable buildFeatures flags by default
|
|
android.defaults.buildfeatures.aidl=false
|
|
android.defaults.buildfeatures.buildconfig=false
|
|
android.defaults.buildfeatures.renderscript=false
|
|
android.defaults.buildfeatures.resvalues=false
|
|
android.defaults.buildfeatures.shaders=false
|
|
# Gradle
|
|
## Ensure important default jvmargs aren't overwritten. See https://github.com/gradle/gradle/issues/19750
|
|
org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
org.gradle.configuration-cache=false
|
|
org.gradle.kotlin.dsl.allWarningsAsErrors=true
|
|
## Workaround for AGP still using old versions of xerces and having issues with Gradle > 8.3
|
|
## https://docs.gradle.org/current/userguide/upgrading_version_8.html#xml_parsing_now_requires_recent_parsers
|
|
## remove once AGP is updated and uses a newer version XML parser
|
|
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
|