8 Commits

Author SHA1 Message Date
Enrique López-Mañas
7cfb154178
chore: added Lint flow to modules (#2308)
* chore: added Lint flow to modules

* chore: header for lint

* chore: removed abort on error

* chore: remove lint

* chore: fixed lints

* chore: fix permission
2025-10-13 10:40:58 -06:00
Enrique López-Mañas
778a365d12
feat: updated snippets (#2289)
* feat: updated snippets

* feat: excluding lint errors

* fix: merge commit

* feat: updated versions
2025-10-07 11:46:01 -06:00
Dale Hawkins
b8519f44fe
refactor: Centralize SDK versions in libs.versions.toml (#2294)
* 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>
2025-09-26 15:12:17 -06:00
Enrique López-Mañas
73ac16ffca
chore: increased libraries, replaced deprecated methods (#2204) 2025-08-12 13:20:36 -06:00
Enrique López-Mañas
a15cb45067
chore: updated versions (#2135)
* chore: updated versions

* chore: updated snippets

* chore: updated tutorials java

* chore: updated tutorials java

* chore: permission

* chore: permission

* chore: added material
2025-06-25 11:24:13 -06:00
dependabot[bot]
d37fc17e4d
chore(deps): bump com.google.maps.android:android-maps-utils from 3.9.0 to 3.10.0 in /snippets (#1949)
chore(deps): bump com.google.maps.android:android-maps-utils

Bumps [com.google.maps.android:android-maps-utils](https://github.com/googlemaps/android-maps-utils) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/googlemaps/android-maps-utils/releases)
- [Changelog](https://github.com/googlemaps/android-maps-utils/blob/main/.releaserc)
- [Commits](https://github.com/googlemaps/android-maps-utils/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: com.google.maps.android:android-maps-utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 10:24:08 -07:00
Dale Hawkins
e0b85bcb7a
build: update Android to 35, kotlin to 2.0.21, lifecycle to 2.8.7 (#1931)
* 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
2025-01-14 08:13:10 -07:00
Enrique López Mañas
42f3887bac
feat: tooling modernization (#1753)
* feat: tooling modernization

* chore: headers

* chore: headers

* feat: tooling modernization

* removed script
2024-08-20 14:33:51 -06:00