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
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
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
Angela Yu
710c6ee148
chore: update all instructions to use secrets.properties ( #1755 )
...
* chore: update WearOS readme
* chore: update WearOS AGP version
* chore: remove outdated API key instructions
* chore: update comments in build.gradle
2024-08-16 11:12:20 -07:00
Dale Hawkins
abcc8b52c2
feat: copies some snippets that were in v3 only to gms ( #1715 )
...
* feat: copies some snippets that were in v3 only to gms
chore: the java compatibility version
* fix: updates copyright dates and adds missing copyright
* fix: copyright header for strings.xml
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* feat: creates AdvancedMarkersCollisionActivity to demonstrate marker collision behavior
* chore: not adding jar files in libs directory
* feat: set Java 21 everywhere
---------
Co-authored-by: Enrique López Mañas <eenriquelopez@gmail.com>
2024-07-24 10:56:55 -06:00
dependabot[bot]
8523a90878
chore(deps): bump androidx.test.espresso:espresso-core from 3.6.0 to 3.6.1 in /snippets ( #1658 )
...
chore(deps): bump androidx.test.espresso:espresso-core in /snippets
Bumps androidx.test.espresso:espresso-core from 3.6.0 to 3.6.1.
---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 11:11:47 +00:00
dependabot[bot]
825a29554a
chore(deps): bump androidx.test.ext:junit from 1.2.0 to 1.2.1 in /snippets ( #1661 )
...
chore(deps): bump androidx.test.ext:junit in /snippets
Bumps androidx.test.ext:junit from 1.2.0 to 1.2.1.
---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 11:10:32 +00:00
dependabot[bot]
f912316041
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to 3.6.0 in /snippets ( #1655 )
...
chore(deps): bump androidx.test.espresso:espresso-core in /snippets
Bumps androidx.test.espresso:espresso-core from 3.5.1 to 3.6.0.
---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
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>
2024-06-25 11:26:13 +00:00
dependabot[bot]
22d3202f0f
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.0 in /snippets ( #1654 )
...
chore(deps): bump androidx.test.ext:junit in /snippets
Bumps androidx.test.ext:junit from 1.1.5 to 1.2.0.
---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
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>
2024-06-25 11:23:32 +00:00
dependabot[bot]
0098d8f854
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in /snippets ( #1619 )
...
chore(deps): bump androidx.appcompat:appcompat in /snippets
Bumps androidx.appcompat:appcompat from 1.6.1 to 1.7.0.
---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
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>
2024-05-30 11:10:34 +00:00
dependabot[bot]
98cb65922a
chore(deps): bump com.google.maps.android:places-ktx from 3.1.1 to 3.2.0 in /snippets ( #1599 )
...
---
updated-dependencies:
- dependency-name: com.google.maps.android:places-ktx
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>
2024-05-22 12:01:26 +00:00
dependabot[bot]
20f216edbd
chore(deps): bump com.google.android.material:material from 1.11.0 to 1.12.0 in /snippets ( #1561 )
...
chore(deps): bump com.google.android.material:material in /snippets
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/material-components/material-components-android/releases )
- [Commits](https://github.com/material-components/material-components-android/compare/1.11.0...1.12.0 )
---
updated-dependencies:
- dependency-name: com.google.android.material:material
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>
2024-05-03 11:19:07 +00:00
Enrique López Mañas
1df7d3d37a
fix: updated dependencies to solve compilation issue ( #1557 )
...
* fix: versions and dependencies updated to allow compilation
* fix: duplicated libraries
* fix: updated Gradle
* fix: updated Manifest
* fix: updated Gradle
* fix: fixed header
2024-05-02 14:54:21 -06:00
dependabot[bot]
83f6b23eb1
chore(deps): bump androidx.core:core-ktx from 1.13.0 to 1.13.1 in /snippets ( #1558 )
...
chore(deps): bump androidx.core:core-ktx in /snippets
Bumps androidx.core:core-ktx from 1.13.0 to 1.13.1.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 11:52:49 +00:00
dependabot[bot]
c53ba8f7c7
chore(deps): bump androidx.core:core-ktx from 1.12.0 to 1.13.0 in /snippets ( #1545 )
...
chore(deps): bump androidx.core:core-ktx in /snippets
Bumps androidx.core:core-ktx from 1.12.0 to 1.13.0.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
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>
2024-04-18 11:10:51 +00:00
dependabot[bot]
eafe788c1d
chore(deps): bump com.google.android.material:material from 1.8.0 to 1.11.0 in /snippets ( #1483 )
...
chore(deps): bump com.google.android.material:material in /snippets
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android ) from 1.8.0 to 1.11.0.
- [Release notes](https://github.com/material-components/material-components-android/releases )
- [Commits](https://github.com/material-components/material-components-android/compare/1.8.0...1.11.0 )
---
updated-dependencies:
- dependency-name: com.google.android.material:material
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>
2024-02-19 12:33:45 +00:00
dependabot[bot]
5565e5071f
chore(deps): bump androidx.core:core-ktx from 1.9.0 to 1.12.0 in /snippets ( #1477 )
...
chore(deps): bump androidx.core:core-ktx in /snippets
Bumps androidx.core:core-ktx from 1.9.0 to 1.12.0.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
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>
2024-02-16 12:29:02 +00:00
dependabot[bot]
6c2ef57376
chore(deps): bump com.google.maps.android:places-ktx from 3.0.0 to 3.1.1 in /snippets ( #1473 )
...
chore(deps): bump com.google.maps.android:places-ktx in /snippets
Bumps [com.google.maps.android:places-ktx](https://github.com/googlemaps/android-places-ktx ) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/googlemaps/android-places-ktx/releases )
- [Changelog](https://github.com/googlemaps/android-places-ktx/blob/main/.releaserc )
- [Commits](https://github.com/googlemaps/android-places-ktx/compare/v3.0.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: com.google.maps.android:places-ktx
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>
2024-02-09 17:00:44 -08:00
Enrique López Mañas
e6f8b8a913
feat: updated targetSdk and compileSdk ( #1428 )
...
* feat: updated targetSdk and compileSdk
* docs: added licenses
* docs: excluded markdown files from header check
2023-12-06 13:20:48 -08:00
dependabot[bot]
5b04c090fe
chore(deps): bump com.google.maps.android:places-ktx from 2.0.0 to 3.0.0 in /snippets ( #1383 )
...
chore(deps): bump com.google.maps.android:places-ktx in /snippets
Bumps [com.google.maps.android:places-ktx](https://github.com/googlemaps/android-places-ktx ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/googlemaps/android-places-ktx/releases )
- [Changelog](https://github.com/googlemaps/android-places-ktx/blob/main/.releaserc )
- [Commits](https://github.com/googlemaps/android-places-ktx/compare/v2.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: com.google.maps.android:places-ktx
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 07:43:36 +00:00
Floyd Jones
8eccad66c1
Update build.gradle ( #1373 )
...
remove the `silent` attribute on the closing exclude tag, which may be causing the code not to appear on DevSite.
2023-11-01 17:36:53 -07:00
Angela Yu
f777167272
chore: set up new snippets modules for region tags ( #1368 )
...
* chore: move MapsCompose.kt to snippets/app-compose app
* chore: create app-places-ktx snippets module with places-ktx install snippet
* chore: create app-maps-rx snippets module
* chore: create app-ktx snippets module
* chore: add app-utils-ktx snippets module
* chore: rename app-maps-rx to app-rx
* chore: add app-utils snippets module
* chore: move region tag from tutorials to snippets for play services sdk dependency
* chore: move kotlin utils to app-utils-ktx module
* chore: move utils and utils-ktx snippets into corresponding modules
* chore: finalize maps sdk snippets
* chore: upgrade AGP and add namespaces
* chore: fix build issues
* chore: udpate build workflow to Java 17
* chore: fix build errors
* chore: remove v3 files
* Revert "chore: remove v3 files"
This reverts commit f70c47bd0cbd5ed73dfd43199371dcfc6afd6350.
* chore: add default PLACES_API_KEY to Current Place tutorial
* chore: fix tutorial builds
2023-10-31 09:33:26 -07:00