diff --git a/AccessibilityCodelab/gradle.properties b/AccessibilityCodelab/gradle.properties index 961905d2a..be0e2c807 100644 --- a/AccessibilityCodelab/gradle.properties +++ b/AccessibilityCodelab/gradle.properties @@ -37,6 +37,3 @@ android.useAndroidX=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official - -# Enable R8 full mode. -android.enableR8.fullMode=true diff --git a/AdaptiveUiCodelab/gradle.properties b/AdaptiveUiCodelab/gradle.properties index 84d849c5b..cecb1ceb9 100644 --- a/AdaptiveUiCodelab/gradle.properties +++ b/AdaptiveUiCodelab/gradle.properties @@ -21,17 +21,16 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true + +# Turn on parallel compilation, caching and on-demand configuration +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.parallel=true + # AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app"s APK +# Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true + # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/AdvancedStateAndSideEffectsCodelab/gradle.properties b/AdvancedStateAndSideEffectsCodelab/gradle.properties index e2a50a753..d8582fb86 100644 --- a/AdvancedStateAndSideEffectsCodelab/gradle.properties +++ b/AdvancedStateAndSideEffectsCodelab/gradle.properties @@ -39,7 +39,4 @@ android.useAndroidX=true android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": -kotlin.code.style=official - -# Enable R8 full mode. -android.enableR8.fullMode=false +kotlin.code.style=official \ No newline at end of file diff --git a/BasicLayoutsCodelab/gradle.properties b/BasicLayoutsCodelab/gradle.properties index 46a3404f7..9b4d6b4cc 100644 --- a/BasicLayoutsCodelab/gradle.properties +++ b/BasicLayoutsCodelab/gradle.properties @@ -11,19 +11,15 @@ # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true +# Turn on parallel compilation, caching and on-demand configuration +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.parallel=true # AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app"s APK +# Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -# Kotlin code style for this project: "official" or "obsolete": -kotlin.code.style=official -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file +# Kotlin code style for this project: "official" or "obsolete": +kotlin.code.style=official \ No newline at end of file diff --git a/BasicStateCodelab/gradle.properties b/BasicStateCodelab/gradle.properties new file mode 100644 index 000000000..0bcff31c0 --- /dev/null +++ b/BasicStateCodelab/gradle.properties @@ -0,0 +1,22 @@ +# Project-wide Gradle settings. +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 + +# Turn on parallel compilation, caching and on-demand configuration +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.parallel=true + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true + +# Kotlin code style for this project: "official" or "obsolete": +kotlin.code.style=official diff --git a/BasicsCodelab/gradle.properties b/BasicsCodelab/gradle.properties new file mode 100644 index 000000000..e397a1b5f --- /dev/null +++ b/BasicsCodelab/gradle.properties @@ -0,0 +1,25 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 + +# Turn on parallel compilation, caching and on-demand configuration +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.parallel=true + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true + +# Kotlin code style for this project: "official" or "obsolete": +kotlin.code.style=official diff --git a/MigrationCodelab/gradle.properties b/MigrationCodelab/gradle.properties index 42979c479..c2a5d74b3 100644 --- a/MigrationCodelab/gradle.properties +++ b/MigrationCodelab/gradle.properties @@ -25,10 +25,17 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx2048m + +# Turn on parallel compilation, caching and on-demand configuration +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.parallel=true + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -org.gradle.jvmargs=-Xmx1536m -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true +# Kotlin code style for this project: "official" or "obsolete": +kotlin.code.style=official diff --git a/NavigationCodelab/gradle.properties b/NavigationCodelab/gradle.properties index 494737fda..33964ee87 100644 --- a/NavigationCodelab/gradle.properties +++ b/NavigationCodelab/gradle.properties @@ -25,6 +25,7 @@ # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx2048m +# Turn on parallel compilation, caching and on-demand configuration org.gradle.configureondemand=true org.gradle.caching=true org.gradle.parallel=true diff --git a/PerformanceCodelab/gradle.properties b/PerformanceCodelab/gradle.properties index 3c5031eb7..17e019b30 100644 --- a/PerformanceCodelab/gradle.properties +++ b/PerformanceCodelab/gradle.properties @@ -7,17 +7,15 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true +# Turn on parallel compilation, caching and on-demand configuration +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.parallel=true + # AndroidX package structure to make it clearer which packages are bundled with the # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true + # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/TestingCodelab/gradle.properties b/TestingCodelab/gradle.properties index c6bcaa96c..8a30b68db 100644 --- a/TestingCodelab/gradle.properties +++ b/TestingCodelab/gradle.properties @@ -36,7 +36,4 @@ org.gradle.parallel=true android.useAndroidX=true # Kotlin code style for this project: "official" or "obsolete": -kotlin.code.style=official - -# Enable R8 full mode. -android.enableR8.fullMode=true +kotlin.code.style=official \ No newline at end of file diff --git a/ThemingCodelab/gradle.properties b/ThemingCodelab/gradle.properties index e29aec68d..cd9d7e39f 100644 --- a/ThemingCodelab/gradle.properties +++ b/ThemingCodelab/gradle.properties @@ -40,6 +40,3 @@ kotlin.code.style=official org.gradle.configureondemand=true org.gradle.caching=true org.gradle.parallel=true - -# Enable R8 full mode. -android.enableR8.fullMode=true \ No newline at end of file