Skip to content

Commit e33e8b0

Browse files
authored
Enable caching flags and remove outdated
1 parent ee2a97d commit e33e8b0

File tree

11 files changed

+49
-64
lines changed

11 files changed

+49
-64
lines changed

AccessibilityCodelab/gradle.properties

-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,3 @@ android.useAndroidX=true
3737

3838
# Kotlin code style for this project: "official" or "obsolete":
3939
kotlin.code.style=official
40-
41-
# Enable R8 full mode.
42-
android.enableR8.fullMode=true

AdaptiveUiCodelab/gradle.properties

+8-9
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,16 @@
2121
# Specifies the JVM arguments used for the daemon process.
2222
# The setting is particularly useful for tweaking memory settings.
2323
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
24-
# When configured, Gradle will run in incubating parallel mode.
25-
# This option should only be used with decoupled projects. More details, visit
26-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
27-
# org.gradle.parallel=true
24+
25+
# Turn on parallel compilation, caching and on-demand configuration
26+
org.gradle.configureondemand=true
27+
org.gradle.caching=true
28+
org.gradle.parallel=true
29+
2830
# AndroidX package structure to make it clearer which packages are bundled with the
29-
# Android operating system, and which are packaged with your app"s APK
31+
# Android operating system, and which are packaged with your app's APK
3032
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3133
android.useAndroidX=true
34+
3235
# Kotlin code style for this project: "official" or "obsolete":
3336
kotlin.code.style=official
34-
# Enables namespacing of each library's R class so that its R class includes only the
35-
# resources declared in the library itself and none from the library's dependencies,
36-
# thereby reducing the size of the R class for that library
37-
android.nonTransitiveRClass=true

AdvancedStateAndSideEffectsCodelab/gradle.properties

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,4 @@ android.useAndroidX=true
3939
android.enableJetifier=true
4040

4141
# Kotlin code style for this project: "official" or "obsolete":
42-
kotlin.code.style=official
43-
44-
# Enable R8 full mode.
45-
android.enableR8.fullMode=false
42+
kotlin.code.style=official

BasicLayoutsCodelab/gradle.properties

+7-11
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,15 @@
1111
# The setting is particularly useful for tweaking memory settings.
1212
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1313

14-
# When configured, Gradle will run in incubating parallel mode.
15-
# This option should only be used with decoupled projects. More details, visit
16-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
# org.gradle.parallel=true
14+
# Turn on parallel compilation, caching and on-demand configuration
15+
org.gradle.configureondemand=true
16+
org.gradle.caching=true
17+
org.gradle.parallel=true
1818

1919
# AndroidX package structure to make it clearer which packages are bundled with the
20-
# Android operating system, and which are packaged with your app"s APK
20+
# Android operating system, and which are packaged with your app's APK
2121
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2222
android.useAndroidX=true
23-
# Kotlin code style for this project: "official" or "obsolete":
24-
kotlin.code.style=official
2523

26-
# Enables namespacing of each library's R class so that its R class includes only the
27-
# resources declared in the library itself and none from the library's dependencies,
28-
# thereby reducing the size of the R class for that library
29-
android.nonTransitiveRClass=true
24+
# Kotlin code style for this project: "official" or "obsolete":
25+
kotlin.code.style=official

BasicStateCodelab/gradle.properties

+8-9
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@
77
# Specifies the JVM arguments used for the daemon process.
88
# The setting is particularly useful for tweaking memory settings.
99
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10-
# When configured, Gradle will run in incubating parallel mode.
11-
# This option should only be used with decoupled projects. More details, visit
12-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13-
# org.gradle.parallel=true
10+
11+
# Turn on parallel compilation, caching and on-demand configuration
12+
org.gradle.configureondemand=true
13+
org.gradle.caching=true
14+
org.gradle.parallel=true
15+
1416
# AndroidX package structure to make it clearer which packages are bundled with the
15-
# Android operating system, and which are packaged with your app"s APK
17+
# Android operating system, and which are packaged with your app's APK
1618
# https://developer.android.com/topic/libraries/support-library/androidx-rn
1719
android.useAndroidX=true
20+
1821
# Kotlin code style for this project: "official" or "obsolete":
1922
kotlin.code.style=official
20-
# Enables namespacing of each library's R class so that its R class includes only the
21-
# resources declared in the library itself and none from the library's dependencies,
22-
# thereby reducing the size of the R class for that library
23-
android.nonTransitiveRClass=true

BasicsCodelab/gradle.properties

+5-9
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,15 @@
1111
# The setting is particularly useful for tweaking memory settings.
1212
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1313

14-
# When configured, Gradle will run in incubating parallel mode.
15-
# This option should only be used with decoupled projects. More details, visit
16-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
# org.gradle.parallel=true
14+
# Turn on parallel compilation, caching and on-demand configuration
15+
org.gradle.configureondemand=true
16+
org.gradle.caching=true
17+
org.gradle.parallel=true
1818

1919
# AndroidX package structure to make it clearer which packages are bundled with the
2020
# Android operating system, and which are packaged with your app's APK
2121
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2222
android.useAndroidX=true
23+
2324
# Kotlin code style for this project: "official" or "obsolete":
2425
kotlin.code.style=official
25-
26-
# Enables namespacing of each library's R class so that its R class includes only the
27-
# resources declared in the library itself and none from the library's dependencies,
28-
# thereby reducing the size of the R class for that library
29-
android.nonTransitiveRClass=true

MigrationCodelab/gradle.properties

+12-5
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@
2525

2626
# Specifies the JVM arguments used for the daemon process.
2727
# The setting is particularly useful for tweaking memory settings.
28+
org.gradle.jvmargs=-Xmx2048m
29+
30+
# Turn on parallel compilation, caching and on-demand configuration
31+
org.gradle.configureondemand=true
32+
org.gradle.caching=true
33+
org.gradle.parallel=true
34+
35+
# AndroidX package structure to make it clearer which packages are bundled with the
36+
# Android operating system, and which are packaged with your app's APK
37+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2838
android.useAndroidX=true
29-
org.gradle.jvmargs=-Xmx1536m
3039

31-
# When configured, Gradle will run in incubating parallel mode.
32-
# This option should only be used with decoupled projects. More details, visit
33-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
34-
# org.gradle.parallel=true
40+
# Kotlin code style for this project: "official" or "obsolete":
41+
kotlin.code.style=official

NavigationCodelab/gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# The setting is particularly useful for tweaking memory settings.
2626
org.gradle.jvmargs=-Xmx2048m
2727

28+
# Turn on parallel compilation, caching and on-demand configuration
2829
org.gradle.configureondemand=true
2930
org.gradle.caching=true
3031
org.gradle.parallel=true

PerformanceCodelab/gradle.properties

+6-8
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@
77
# Specifies the JVM arguments used for the daemon process.
88
# The setting is particularly useful for tweaking memory settings.
99
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10-
# When configured, Gradle will run in incubating parallel mode.
11-
# This option should only be used with decoupled projects. More details, visit
12-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13-
# org.gradle.parallel=true
10+
# Turn on parallel compilation, caching and on-demand configuration
11+
org.gradle.configureondemand=true
12+
org.gradle.caching=true
13+
org.gradle.parallel=true
14+
1415
# AndroidX package structure to make it clearer which packages are bundled with the
1516
# Android operating system, and which are packaged with your app's APK
1617
# https://developer.android.com/topic/libraries/support-library/androidx-rn
1718
android.useAndroidX=true
19+
1820
# Kotlin code style for this project: "official" or "obsolete":
1921
kotlin.code.style=official
20-
# Enables namespacing of each library's R class so that its R class includes only the
21-
# resources declared in the library itself and none from the library's dependencies,
22-
# thereby reducing the size of the R class for that library
23-
android.nonTransitiveRClass=true

TestingCodelab/gradle.properties

+1-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,4 @@ org.gradle.parallel=true
3636
android.useAndroidX=true
3737

3838
# Kotlin code style for this project: "official" or "obsolete":
39-
kotlin.code.style=official
40-
41-
# Enable R8 full mode.
42-
android.enableR8.fullMode=true
39+
kotlin.code.style=official

ThemingCodelab/gradle.properties

-2
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,3 @@ kotlin.code.style=official
3838
org.gradle.configureondemand=true
3939
org.gradle.caching=true
4040
org.gradle.parallel=true
41-
# Enable R8 full mode.
42-
android.enableR8.fullMode=true

0 commit comments

Comments
 (0)