@@ -22,38 +22,15 @@ org.gradle.jvmargs=-Xmx1536m
22
22
# Turn off AP discovery in compile path to enable compile avoidance
23
23
kapt.include.compile.classpath =false
24
24
25
- # Enable non-transitive R class namespacing where each library only contains
26
- # references to the resources it declares instead of declarations plus all
27
- # transitive dependency references.
28
- android.nonTransitiveRClass =true
29
-
30
25
# Experimental AGP flags
31
26
# Generate compile-time only R class for app modules.
32
27
android.enableAppCompileTimeRClass =true
33
28
# Keep AAPT2 daemons alive between incremental builds.
34
29
android.keepWorkerActionServicesBetweenBuilds =true
35
- # Make R fields non-final to improve build speeds.
36
- # http://tools.android.com/tips/non-constant-fields
37
- android.nonFinalResIds =true
38
- # Enable the newly refactored resource shrinker.
39
- android.experimental.enableNewResourceShrinker =true
40
- # Enable precise shrinking in the new resource shrinker.
41
- android.experimental.enableNewResourceShrinker.preciseShrinking =true
42
30
# Generate manifest class as a .class directly rather than a Java source file.
43
31
android.generateManifestClass =true
44
- # Generate the text map of source sets and absolute paths to allow
45
- # generating relative paths from absolute paths later in the build.
46
- android.experimental.enableSourceSetPathsMap =true
47
- # Use relative paths for better Gradle caching of library build tasks
48
- android.experimental.cacheCompileLibResources =true
49
32
50
33
# Default Android build features
51
- # Disable BuildConfig generation by default
52
- android.defaults.buildfeatures.buildconfig =false
53
- # Disable AIDL stub generation by default
54
- android.defaults.buildfeatures.aidl =false
55
- # Disable RenderScript compilation by default
56
- android.defaults.buildfeatures.renderscript =false
57
34
# Disable resource values generation by default in libraries
58
35
android.defaults.buildfeatures.resvalues =false
59
36
# Disable shader compilation by default
@@ -63,7 +40,6 @@ android.library.defaults.buildfeatures.androidresources=false
63
40
64
41
# Suppress warnings for some features that aren't yet stabilized
65
42
android.suppressUnsupportedOptionWarnings =android.keepWorkerActionServicesBetweenBuilds,\
66
- android.experimental.enableNewResourceShrinker.preciseShrinking,\
67
43
android.enableAppCompileTimeRClass,\
68
44
android.suppressUnsupportedOptionWarnings
69
45
0 commit comments