2020-07-14 06:01:37 +00:00
|
|
|
#
|
|
|
|
# Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#
|
2020-09-20 17:13:31 +00:00
|
|
|
org.gradle.parallel=true
|
|
|
|
org.gradle.configureondemand=true
|
|
|
|
org.gradle.caching=true
|
2020-07-14 06:01:37 +00:00
|
|
|
|
2020-09-20 17:13:31 +00:00
|
|
|
# Enabling filesystem watching
|
|
|
|
org.gradle.vfs.watch=true
|
2019-10-13 06:06:19 +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
|
|
|
# Enable parallel tasks execution for Kotlin Gradle plugin
|
|
|
|
kotlin.parallel.tasks.in.project=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
|
|
|
|
|
|
|
|
# Use R8 instead of ProGuard for code shrinking.
|
|
|
|
android.enableR8.fullMode=true
|
|
|
|
|
|
|
|
# Enable AndroidX
|
|
|
|
android.useAndroidX=true
|
2019-10-13 06:06:19 +00:00
|
|
|
|
2020-09-20 17:13:31 +00:00
|
|
|
# Enable non-transitive R class namespacing where each library only contains
|
2019-10-13 06:06:19 +00:00
|
|
|
# references to the resources it declares instead of declarations plus all
|
|
|
|
# transitive dependency references.
|
2020-09-20 17:13:31 +00:00
|
|
|
android.nonTransitiveRClass=true
|
2020-07-23 09:09:36 +00:00
|
|
|
|
2020-09-20 17:13:31 +00:00
|
|
|
# Only keep the single relevant constructor for types mentioned in XML files
|
|
|
|
# instead of using a parameter wildcard which keeps them all.
|
|
|
|
android.useMinimalKeepRules=true
|
|
|
|
|
|
|
|
# Enable resource optimizations for release build
|
|
|
|
android.enableResourceOptimizations=true
|
|
|
|
|
|
|
|
# Default Android build features
|
|
|
|
android.defaults.buildfeatures.buildconfig=false
|
|
|
|
android.defaults.buildfeatures.aidl=false
|
|
|
|
android.defaults.buildfeatures.renderscript=false
|
|
|
|
android.defaults.buildfeatures.resvalues=false
|
|
|
|
android.defaults.buildfeatures.shaders=false
|
2020-10-16 15:18:11 +00:00
|
|
|
|
|
|
|
# Disable warnings about unsupported features, we know what we're doing
|
|
|
|
android.suppressUnsupportedOptionWarnings=android.enableR8.fullMode,android.enableResourceOptimizations,android.nonTransitiveRClass,android.suppressUnsupportedOptionWarnings
|