thunderbird-android/gradle.properties

25 lines
1.4 KiB
Properties
Raw Normal View History

2023-09-14 08:55:50 +00:00
# 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
2023-09-14 08:55:39 +00:00
# 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
2019-11-13 15:43:20 +00:00
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=false
2023-09-06 13:24:46 +00:00
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
## A fix is available in AGP 8.3.0-alpha12: https://issuetracker.google.com/issues/306301014
## Remove this once AGP 8.3.0 works with Intellij IDEA
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