|
2 | 2 | # Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. |
3 | 3 | # SPDX-License-Identifier: GPL-3.0-only |
4 | 4 | # |
| 5 | +org.gradle.parallel=true |
| 6 | +org.gradle.configureondemand=true |
| 7 | +org.gradle.caching=true |
5 | 8 |
|
6 | | -# AndroidX |
7 | | -android.enableJetifier=false |
8 | | -android.useAndroidX=true |
| 9 | +# Enabling filesystem watching |
| 10 | +org.gradle.vfs.watch=true |
| 11 | +org.gradle.unsafe.watch-fs=true |
9 | 12 |
|
10 | | -# R8 Full mode |
11 | | -android.enableR8.fullMode=true |
| 13 | +# Enable Kotlin incremental compilation |
| 14 | +kotlin.incremental=true |
12 | 15 |
|
13 | | -# Disable warnings for experimental options |
14 | | -android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.enableR8.fullMode,android.useMinimalKeepRules,android.namespacedRClass |
| 16 | +# Enable parallel tasks execution for Kotlin Gradle plugin |
| 17 | +kotlin.parallel.tasks.in.project=true |
15 | 18 |
|
16 | | -# https://jakewharton.com/increased-accuracy-of-aapt2-keep-rules/ |
17 | | -android.useMinimalKeepRules=true |
| 19 | +# Kotlin code style |
| 20 | +kotlin.code.style=official |
| 21 | + |
| 22 | +# Enable incremental annotation processor for KAPT |
| 23 | +kapt.incremental.apt=true |
| 24 | + |
| 25 | +# Turn off AP discovery in compile path to enable compile avoidance |
| 26 | +kapt.include.compile.classpath=false |
| 27 | + |
| 28 | +# Use R8 instead of ProGuard for code shrinking. |
| 29 | +android.enableR8.fullMode=true |
| 30 | + |
| 31 | +# Enable AndroidX |
| 32 | +android.useAndroidX=true |
18 | 33 |
|
19 | | -# Enable rudimentary R class namespacing where each library only contains |
| 34 | +# Enable non-transitive R class namespacing where each library only contains |
20 | 35 | # references to the resources it declares instead of declarations plus all |
21 | 36 | # transitive dependency references. |
22 | | -android.namespacedRClass=true |
| 37 | +android.nonTransitiveRClass=true |
23 | 38 |
|
24 | | -# Gradle FS watching |
25 | | -org.gradle.unsafe.watch-fs=true |
| 39 | +# Only keep the single relevant constructor for types mentioned in XML files |
| 40 | +# instead of using a parameter wildcard which keeps them all. |
| 41 | +android.useMinimalKeepRules=true |
| 42 | + |
| 43 | +# Enable resource optimizations for release build |
| 44 | +android.enableResourceOptimizations=true |
| 45 | + |
| 46 | +# Default Android build features |
| 47 | +android.defaults.buildfeatures.buildconfig=false |
| 48 | +android.defaults.buildfeatures.aidl=false |
| 49 | +android.defaults.buildfeatures.renderscript=false |
| 50 | +android.defaults.buildfeatures.resvalues=false |
| 51 | +android.defaults.buildfeatures.shaders=false |
0 commit comments