Skip to content

Commit 6f54861

Browse files
committed
gradle: remove experimental options now on by default
Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent c884a01 commit 6f54861

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

gradle.properties

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,15 @@ org.gradle.jvmargs=-Xmx1536m
2222
# Turn off AP discovery in compile path to enable compile avoidance
2323
kapt.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.
3227
android.enableAppCompileTimeRClass=true
3328
# Keep AAPT2 daemons alive between incremental builds.
3429
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
4230
# Generate manifest class as a .class directly rather than a Java source file.
4331
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
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
5835
android.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
6542
android.suppressUnsupportedOptionWarnings=android.keepWorkerActionServicesBetweenBuilds,\
66-
android.experimental.enableNewResourceShrinker.preciseShrinking,\
6743
android.enableAppCompileTimeRClass,\
6844
android.suppressUnsupportedOptionWarnings
6945

0 commit comments

Comments
 (0)