2020-07-14 06:01:37 +00:00
|
|
|
#
|
2021-03-09 09:15:27 +00:00
|
|
|
# Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
2020-07-14 06:01:37 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#
|
2020-09-20 17:13:31 +00:00
|
|
|
org.gradle.parallel=true
|
2021-12-21 12:26:20 +00:00
|
|
|
org.gradle.configureondemand=false
|
2020-09-20 17:13:31 +00:00
|
|
|
org.gradle.caching=true
|
2020-07-14 06:01:37 +00:00
|
|
|
|
2021-11-15 17:51:57 +00:00
|
|
|
# Enable filesystem watching
|
2020-09-20 17:13:31 +00:00
|
|
|
org.gradle.vfs.watch=true
|
2019-10-13 06:06:19 +00:00
|
|
|
|
2022-02-17 04:43:04 +00:00
|
|
|
# Enable experimental configuration caching
|
2023-03-29 09:41:46 +00:00
|
|
|
org.gradle.configuration-cache=true
|
2022-02-17 04:43:04 +00:00
|
|
|
|
2020-09-20 17:13:31 +00:00
|
|
|
# Enable Kotlin incremental compilation
|
|
|
|
kotlin.incremental=true
|
2019-10-13 06:06:19 +00:00
|
|
|
|
2020-09-20 17:13:31 +00:00
|
|
|
# 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
|
|
|
|
|
2022-06-10 17:57:56 +00:00
|
|
|
# New incremental compilation for Kotlin
|
2023-04-10 10:30:07 +00:00
|
|
|
kotlin.compiler.preciseCompilationResultsBackup=true
|
2022-06-10 17:57:56 +00:00
|
|
|
kotlin.build.report.output=file
|
2023-07-06 07:02:48 +00:00
|
|
|
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
|
2022-06-10 17:57:56 +00:00
|
|
|
|
2023-06-30 20:35:05 +00:00
|
|
|
# Make all Kotlin DSL warnings fail build
|
|
|
|
org.gradle.kotlin.dsl.allWarningsAsErrors=true
|
|
|
|
|
2020-09-20 17:13:31 +00:00
|
|
|
# Enable AndroidX
|
|
|
|
android.useAndroidX=true
|
2019-10-13 06:06:19 +00:00
|
|
|
|
2023-05-19 16:03:37 +00:00
|
|
|
# Disable mostly unused default Android build features
|
2020-09-20 17:13:31 +00:00
|
|
|
android.defaults.buildfeatures.resvalues=false
|
|
|
|
android.defaults.buildfeatures.shaders=false
|
2023-05-19 16:03:37 +00:00
|
|
|
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
|
2020-10-16 15:18:11 +00:00
|
|
|
|
2023-05-19 16:03:37 +00:00
|
|
|
# Disable warnings about unsupported features
|
|
|
|
android.suppressUnsupportedOptionWarnings=android.dependencyResolutionAtConfigurationTime.disallow,android.disableEarlyManifestParsing,android.suppressUnsupportedOptionWarnings
|
2021-02-06 12:04:17 +00:00
|
|
|
|
|
|
|
# Maven publishing
|
|
|
|
GROUP=com.github.android-password-store
|
|
|
|
|
|
|
|
# OSSRH sometimes struggles with slow deployments, so this makes Gradle
|
|
|
|
# more tolerant to those delays.
|
2023-03-03 18:21:02 +00:00
|
|
|
SONATYPE_CONNECT_TIMEOUT_SECONDS=120
|
|
|
|
SONATYPE_CLOSE_TIMEOUT_SECONDS=1800
|
2021-11-10 03:21:11 +00:00
|
|
|
|
2024-08-07 21:36:17 +00:00
|
|
|
org.gradle.jvmargs=-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx1500m,Xms500m
|
2024-03-21 18:38:20 +00:00
|
|
|
|
|
|
|
# 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
|