62 lines
2.3 KiB
Properties
62 lines
2.3 KiB
Properties
org.gradle.parallel=true
|
|
org.gradle.configureondemand=false
|
|
org.gradle.caching=true
|
|
|
|
# Enable filesystem watching
|
|
org.gradle.vfs.watch=true
|
|
|
|
# Disable cache-fix version warning
|
|
systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true
|
|
|
|
# Enable experimental configuration caching
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.configuration-cache.problems=warn
|
|
org.gradle.configuration-cache.max-problems=2
|
|
|
|
# Set JVM heap size to 4G
|
|
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
# Enable Kotlin incremental compilation
|
|
kotlin.incremental=true
|
|
|
|
# Kotlin code style
|
|
kotlin.code.style=official
|
|
|
|
# Enable incremental annotation processor for KAPT
|
|
kapt.incremental.apt=true
|
|
|
|
# Turn off AP discovery in compile path to enable compile avoidance
|
|
kapt.include.compile.classpath=false
|
|
|
|
# New incremental compilation for Kotlin
|
|
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
|
|
kotlin.compiler.keepIncrementalCompilationCachesInMemory=true
|
|
kotlin.compiler.preciseCompilationResultsBackup=true
|
|
kotlin.build.report.output=file
|
|
|
|
# Enable AndroidX
|
|
android.useAndroidX=true
|
|
|
|
# Disable mostly unused default Android build features
|
|
android.defaults.buildfeatures.resvalues=false
|
|
android.defaults.buildfeatures.shaders=false
|
|
android.library.defaults.buildfeatures.androidresources=false
|
|
|
|
# Disallow resolution of dependencies at configuration time
|
|
android.dependencyResolutionAtConfigurationTime.disallow=true
|
|
|
|
# Disallow parsing the manifest too early in the build process
|
|
android.disableEarlyManifestParsing=true
|
|
|
|
# Disable warnings about unsupported features
|
|
android.suppressUnsupportedOptionWarnings=android.dependencyResolutionAtConfigurationTime.disallow,android.disableEarlyManifestParsing,android.suppressUnsupportedOptionWarnings
|
|
|
|
# Make Spotless default to keeping license headers years in sync
|
|
spotlessSetLicenseHeaderYearsFromGitHistory=true
|
|
|
|
# Version Catalog Update Plugin workarounds and fixes
|
|
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
|
|
nl.littlerobots.vcu.resolver=true
|