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
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]
e231bc8a1d
chore(deps): bump com.google.maps.android:maps-ktx from 5.1.0 to 5.1.1 in /snippets ( #1695 )
...
chore(deps): bump com.google.maps.android:maps-ktx in /snippets
Bumps [com.google.maps.android:maps-ktx](https://github.com/googlemaps/android-maps-ktx ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/googlemaps/android-maps-ktx/releases )
- [Changelog](https://github.com/googlemaps/android-maps-ktx/blob/main/.releaserc )
- [Commits](https://github.com/googlemaps/android-maps-ktx/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: com.google.maps.android:maps-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-07-10 11:59:52 +00:00
dependabot[bot]
9a38ec2fa1
chore(deps): bump com.google.maps.android:maps-ktx from 5.0.0 to 5.1.0 in /snippets ( #1687 )
...
chore(deps): bump com.google.maps.android:maps-ktx in /snippets
Bumps [com.google.maps.android:maps-ktx](https://github.com/googlemaps/android-maps-ktx ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/googlemaps/android-maps-ktx/releases )
- [Changelog](https://github.com/googlemaps/android-maps-ktx/blob/main/.releaserc )
- [Commits](https://github.com/googlemaps/android-maps-ktx/compare/v5.0.0...v5.1.0 )
---
updated-dependencies:
- dependency-name: com.google.maps.android:maps-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-07-02 11:47:42 +00:00
dependabot[bot]
e65d38ad50
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.2 to 2.8.3 in /snippets ( #1685 )
...
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx in /snippets
Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.8.2 to 2.8.3.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-runtime-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-07-02 11:47:13 +00:00
dependabot[bot]
e6a109a832
chore(deps): bump com.google.android.gms:play-services-maps from 18.2.0 to 19.0.0 in /snippets ( #1657 )
...
chore(deps): bump com.google.android.gms:play-services-maps in /snippets
Bumps com.google.android.gms:play-services-maps from 18.2.0 to 19.0.0.
---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-maps
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>
2024-06-26 11:59:46 +00:00
dependabot[bot]
becf74aecf
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.1 to 2.8.2 in /snippets ( #1638 )
...
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx in /snippets
Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.8.1 to 2.8.2.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-runtime-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-06-13 11:32:16 +00:00
dependabot[bot]
098cb36f39
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.0 to 2.8.1 in /snippets ( #1621 )
...
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx in /snippets
Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.8.0 to 2.8.1.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-runtime-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-30 11:18:02 +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]
735598a496
chore(deps): bump com.google.android.libraries.places:places from 3.4.0 to 3.5.0 in /snippets ( #1617 )
...
chore(deps): bump com.google.android.libraries.places:places
Bumps com.google.android.libraries.places:places from 3.4.0 to 3.5.0.
---
updated-dependencies:
- dependency-name: com.google.android.libraries.places:places
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-29 11:24:57 +00:00
dependabot[bot]
ac7cb5e169
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 from 1.9.24 to 2.0.0 in /snippets ( #1596 )
...
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
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>
2024-05-21 12:02:29 +00:00
dependabot[bot]
ecc7694fed
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.7.0 to 2.8.0 in /snippets ( #1589 )
...
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx in /snippets
Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.7.0 to 2.8.0.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-runtime-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-15 11:11:16 +00:00
dependabot[bot]
9b5c826a6f
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 from 1.9.23 to 1.9.24 in /snippets ( #1577 )
...
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 in /snippets
Bumps [org.jetbrains.kotlin:kotlin-stdlib-jdk8](https://github.com/JetBrains/kotlin ) from 1.9.23 to 1.9.24.
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
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-07 11:12:46 +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]
d1aa3c3377
chore(deps): bump com.google.android.libraries.places:places from 3.3.0 to 3.4.0 in /snippets ( #1515 )
...
chore(deps): bump com.google.android.libraries.places:places
Bumps com.google.android.libraries.places:places from 3.3.0 to 3.4.0.
---
updated-dependencies:
- dependency-name: com.google.android.libraries.places:places
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-03-20 11:04:20 +00:00
dependabot[bot]
3a770fd30e
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 from 1.9.10 to 1.9.23 in /snippets ( #1504 )
...
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 in /snippets
Bumps [org.jetbrains.kotlin:kotlin-stdlib-jdk8](https://github.com/JetBrains/kotlin ) from 1.9.10 to 1.9.23.
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.23/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.10...v1.9.23 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
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-03-07 12:14:28 +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]
bf6e3aaccd
chore(deps): bump com.google.android.libraries.places:places from 3.0.0 to 3.3.0 in /snippets ( #1481 )
...
chore(deps): bump com.google.android.libraries.places:places
Bumps com.google.android.libraries.places:places from 3.0.0 to 3.3.0.
---
updated-dependencies:
- dependency-name: com.google.android.libraries.places:places
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:11 +00:00
dependabot[bot]
a879e8a55f
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.5.1 to 2.7.0 in /snippets ( #1476 )
...
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx in /snippets
Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.5.1 to 2.7.0.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-runtime-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:37 +00: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
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