2022-03-08 17:24:38 +05:30
|
|
|
org.gradle.parallel=true
|
|
|
|
org.gradle.configureondemand=false
|
|
|
|
org.gradle.caching=true
|
|
|
|
|
|
|
|
# Enable filesystem watching
|
|
|
|
org.gradle.vfs.watch=true
|
|
|
|
|
2022-06-28 16:55:26 +05:30
|
|
|
# Disable cache-fix version warning
|
2022-09-21 15:29:01 +05:30
|
|
|
systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true
|
2022-06-28 16:55:26 +05:30
|
|
|
|
2022-03-08 17:24:38 +05:30
|
|
|
# Enable experimental configuration caching
|
2023-03-29 15:18:15 +05:30
|
|
|
org.gradle.configuration-cache=true
|
2023-06-01 12:45:47 +05:30
|
|
|
org.gradle.configuration-cache.problems=warn
|
|
|
|
org.gradle.configuration-cache.max-problems=2
|
2022-03-08 17:24:38 +05:30
|
|
|
|
2023-11-19 18:48:46 +05:30
|
|
|
# Set JVM heap size to 4G
|
|
|
|
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
|
2022-03-08 17:24:38 +05:30
|
|
|
# Enable Kotlin incremental compilation
|
|
|
|
kotlin.incremental=true
|
|
|
|
|
|
|
|
# Kotlin code style
|
2021-06-02 15:21:28 +05:30
|
|
|
kotlin.code.style=official
|
2022-03-08 17:24:38 +05:30
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2022-07-09 01:25:53 +05:30
|
|
|
# New incremental compilation for Kotlin
|
2023-08-20 03:27:12 +05:30
|
|
|
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
|
|
|
|
kotlin.compiler.keepIncrementalCompilationCachesInMemory=true
|
|
|
|
kotlin.compiler.preciseCompilationResultsBackup=true
|
2022-07-09 01:25:53 +05:30
|
|
|
kotlin.build.report.output=file
|
|
|
|
|
2022-03-08 17:24:38 +05:30
|
|
|
# Enable AndroidX
|
2021-06-02 15:21:28 +05:30
|
|
|
android.useAndroidX=true
|
2022-03-08 17:24:38 +05:30
|
|
|
|
2023-06-28 10:38:37 +05:30
|
|
|
# Disable mostly unused default Android build features
|
2022-03-08 17:24:38 +05:30
|
|
|
android.defaults.buildfeatures.resvalues=false
|
|
|
|
android.defaults.buildfeatures.shaders=false
|
2023-06-28 10:38:37 +05:30
|
|
|
android.library.defaults.buildfeatures.androidresources=false
|
|
|
|
|
|
|
|
# Disallow resolution of dependencies at configuration time
|
|
|
|
android.dependencyResolutionAtConfigurationTime.disallow=true
|
2022-03-08 17:24:38 +05:30
|
|
|
|
2023-06-28 10:38:37 +05:30
|
|
|
# Disallow parsing the manifest too early in the build process
|
2022-11-30 14:35:56 +05:30
|
|
|
android.disableEarlyManifestParsing=true
|
|
|
|
|
2023-06-28 10:38:37 +05:30
|
|
|
# Disable warnings about unsupported features
|
2023-08-20 03:27:12 +05:30
|
|
|
android.suppressUnsupportedOptionWarnings=android.dependencyResolutionAtConfigurationTime.disallow,android.disableEarlyManifestParsing,android.suppressUnsupportedOptionWarnings
|
2022-03-08 17:24:38 +05:30
|
|
|
|
2023-04-19 12:37:40 +05:30
|
|
|
# Make Spotless default to keeping license headers years in sync
|
|
|
|
spotlessSetLicenseHeaderYearsFromGitHistory=true
|
2024-01-26 15:10:26 +05:30
|
|
|
|
|
|
|
# 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
|
2024-02-22 13:43:34 +05:30
|
|
|
nl.littlerobots.vcu.resolver=true
|