Skip to content

Commit 8ebcaa2

Browse files
committed
Enable caching flags and remove the outdated
1 parent f7ce206 commit 8ebcaa2

File tree

11 files changed

+83
-47
lines changed

11 files changed

+83
-47
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

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Project-wide Gradle settings.
2+
# IDE (e.g. Android Studio) users:
3+
# Gradle settings configured through the IDE *will override*
4+
# any settings specified in this file.
5+
# For more details on how to configure your build environment visit
6+
# http://www.gradle.org/docs/current/userguide/build_environment.html
7+
# Specifies the JVM arguments used for the daemon process.
8+
# The setting is particularly useful for tweaking memory settings.
9+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
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+
16+
# AndroidX package structure to make it clearer which packages are bundled with the
17+
# Android operating system, and which are packaged with your app's APK
18+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
19+
android.useAndroidX=true
20+
21+
# Kotlin code style for this project: "official" or "obsolete":
22+
kotlin.code.style=official

BasicsCodelab/gradle.properties

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Project-wide Gradle settings.
2+
3+
# IDE (e.g. Android Studio) users:
4+
# Gradle settings configured through the IDE *will override*
5+
# any settings specified in this file.
6+
7+
# For more details on how to configure your build environment visit
8+
# http://www.gradle.org/docs/current/userguide/build_environment.html
9+
10+
# Specifies the JVM arguments used for the daemon process.
11+
# The setting is particularly useful for tweaking memory settings.
12+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
13+
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
18+
19+
# 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
21+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
22+
android.useAndroidX=true
23+
24+
# Kotlin code style for this project: "official" or "obsolete":
25+
kotlin.code.style=official

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

-3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,3 @@ kotlin.code.style=official
4040
org.gradle.configureondemand=true
4141
org.gradle.caching=true
4242
org.gradle.parallel=true
43-
44-
# Enable R8 full mode.
45-
android.enableR8.fullMode=true

0 commit comments

Comments
 (0)