diff --git a/app/prodRelease-badging.txt b/app/prodRelease-badging.txt index 21b36a7fb..9908e775a 100644 --- a/app/prodRelease-badging.txt +++ b/app/prodRelease-badging.txt @@ -105,9 +105,9 @@ application-icon-640:'res/mipmap-anydpi-v26/ic_launcher.xml' application-icon-65534:'res/mipmap-anydpi-v26/ic_launcher.xml' application: label='Now in Android' icon='res/mipmap-anydpi-v26/ic_launcher.xml' launchable-activity: name='com.google.samples.apps.nowinandroid.MainActivity' label='' icon='' +uses-library-not-required:'android.ext.adservices' uses-library-not-required:'androidx.window.extensions' uses-library-not-required:'androidx.window.sidecar' -uses-library-not-required:'android.ext.adservices' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' diff --git a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt index 59eac2322..9eabff31b 100644 --- a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt +++ b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt @@ -108,7 +108,7 @@ abstract class CheckBadgingTask : DefaultTask() { } private fun String.capitalized() = replaceFirstChar { - if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() + if (it.isLowerCase()) it.titlecase() else it.toString() } fun Project.configureBadgingTasks( diff --git a/build.gradle.kts b/build.gradle.kts index f2813400b..745a0362e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,7 +31,13 @@ buildscript { } -// Lists all plugins used throughout the project +/* + * By listing all the plugins used throughout all subprojects in the root project build script, it + * ensures that the build script classpath remains the same for all projects. This avoids potential + * problems with mismatching versions of transitive plugin dependencies. A subproject that applies + * an unlisted plugin will have that plugin and its dependencies _appended_ to the classpath, not + * replacing pre-existing dependencies. + */ plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.android.library) apply false diff --git a/compose_compiler_config.conf b/compose_compiler_config.conf index d47946206..4337c04cb 100644 --- a/compose_compiler_config.conf +++ b/compose_compiler_config.conf @@ -1,5 +1,5 @@ // This file contains classes (with possible wildcards) that the Compose Compiler will treat as stable. -// It allows us to define classes that our not part of our codebase without wrapping them in a stable class. +// It allows us to define classes that are not part of our codebase without wrapping them in a stable class. // For more information, check https://developer.android.com/jetpack/compose/performance/stability/fix#configuration-file // We always use immutable classes for our data model, to avoid running the Compose compiler diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bc85678a0..ef15ed206 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ accompanist = "0.36.0" androidDesugarJdkLibs = "2.1.2" # AGP and tools should be updated together -androidGradlePlugin = "8.6.0" +androidGradlePlugin = "8.6.1" androidTools = "31.6.1" androidxActivity = "1.9.2" androidxAppCompat = "1.7.0"