* chore: Update Gradle wrapper to version 8.8
Upgrades the Gradle wrapper files to version 8.8 to ensure compatibility with the latest features and performance improvements. This includes updating the wrapper JAR, properties, and shell scripts.
* chore: update gradle version
* chore: Standardize on Java 17
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
* Update gradle-wrapper.properties
---------
Co-authored-by: Enrique López-Mañas <eenriquelopez@gmail.com>
* refactor: Centralize SDK versions in libs.versions.toml
Moved compileSdk, minSdk, and targetSdk to libs.versions.toml for ApiDemos and snippets projects to ensure consistency and ease of maintenance.
fix: Corrected top bar layout in Kotlin Advanced Markers demo
The Kotlin version of the Advanced Markers demo was missing a call to applyInsets, causing the top bar to overlap with the system UI. This has been corrected to match the behavior of the Java version.
* refactor: Modernize Gradle scripts and update dependencies
This commit refactors the Gradle build scripts for all snippet modules to align with modern Android development practices.
Key changes include:
- Migrating all plugin and dependency declarations to use the version catalog (`libs.versions.toml`).
- Replacing `id("...")` with `alias(libs.plugins...)` for applying plugins.
- Updating numerous library versions, including AGP, Kotlin, and various Jetpack and Google Maps libraries.
- Setting a `namespace` in all module-level `build.gradle.kts` files.
- Enabling Compose and setting the Java toolchain to version 21 across all modules.
- Enabling minification for release builds.
- Removing the legacy `buildscript` block from the root `build.gradle.kts`.
* refactor: removed coreKtx
* refactor: fix build
* refactor: fix build
* refactor: Remove unused Compose configuration from snippet modules
Removed the Jetpack Compose plugin and `compose = true` build feature from all snippet modules as it was not being used.
fix: Update maps-utils snippets
Corrected several issues in the `app-utils` Java snippets:
- Replaced the deprecated `setWeightedData` method with `updateData` in the Heatmaps demo.
- Initialized an empty list in the Heatmaps demo to prevent a potential NullPointerException.
- Added missing R class imports.
---------
Co-authored-by: Enrique López-Mañas <eenriquelopez@gmail.com>
* build: update Android to 35, kotlin to 2.0.21, lifecycle to 2.8.7
* chore: update snippets to target android-35. Update snippets libraries
* chore: Update minSdk to 23 for the snippets
* chore(dependencies): general update of dependencies
* doc: updated API level for WearOS
* chore: updated API level for WearOS
* chore: moved namespace to Gradle file
Co-authored-by: Angela Yu <5506675+wangela@users.noreply.github.com>