@@ -22,38 +22,15 @@ org.gradle.jvmargs=-Xmx1536m
2222# Turn off AP discovery in compile path to enable compile avoidance
2323kapt.include.compile.classpath =false
2424
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-
3025# Experimental AGP flags
3126# Generate compile-time only R class for app modules.
3227android.enableAppCompileTimeRClass =true
3328# Keep AAPT2 daemons alive between incremental builds.
3429android.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
4230# Generate manifest class as a .class directly rather than a Java source file.
4331android.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
4932
5033# 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
5734# Disable resource values generation by default in libraries
5835android.defaults.buildfeatures.resvalues =false
5936# Disable shader compilation by default
@@ -63,7 +40,6 @@ android.library.defaults.buildfeatures.androidresources=false
6340
6441# Suppress warnings for some features that aren't yet stabilized
6542android.suppressUnsupportedOptionWarnings =android.keepWorkerActionServicesBetweenBuilds,\
66- android.experimental.enableNewResourceShrinker.preciseShrinking,\
6743 android.enableAppCompileTimeRClass,\
6844 android.suppressUnsupportedOptionWarnings
6945
0 commit comments