diff --git a/.agents/skills/android-maps-testing/SKILL.md b/.agents/skills/android-maps-testing/SKILL.md index 93e7dea..b3ad82f 100644 --- a/.agents/skills/android-maps-testing/SKILL.md +++ b/.agents/skills/android-maps-testing/SKILL.md @@ -13,7 +13,7 @@ description: >- Critical User Journeys (CUJs), Modern Android Development (MAD) modularity (< 200-300 lines per file, never storing GoogleMap in ViewModels), and the Zero-Mock Reality Gap gate. license: Apache-2.0 -compatibility: Requires an Android project with compileSdk 34+ and Java 11+ bytecode target. Uses maps-testing-robolectric 1.0.0-rc01+, maps-testing-golden 1.0.0-rc01+, and maps-testing-visual 1.0.0-rc01+. +compatibility: Requires an Android project with compileSdk 34+ and Java 11+ bytecode target. Uses maps-testing-robolectric, maps-testing-golden, and maps-testing-visual 1.0.0-rc01+. # x-release-please-version metadata: version: "1.3" author: Google Maps Platform DevRel @@ -141,10 +141,9 @@ JVM execution without devices? fidelity asser ### Using Gradle Version Catalog (`gradle/libs.versions.toml`) - ```toml [versions] -mapsTesting = "1.0.0-rc01" +mapsTesting = "1.0.0-rc01" # x-release-please-version robolectric = "4.17" truth = "1.4.5" @@ -155,7 +154,6 @@ maps-testing-visual = { module = "com.google.maps.android:maps-testing-visual", robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } truth = { module = "com.google.truth:truth", version.ref = "truth" } ``` - ```kotlin dependencies { diff --git a/.agents/skills/maps-golden-testing/SKILL.md b/.agents/skills/maps-golden-testing/SKILL.md index 4bf8564..2cd57a3 100644 --- a/.agents/skills/maps-golden-testing/SKILL.md +++ b/.agents/skills/maps-golden-testing/SKILL.md @@ -9,7 +9,7 @@ description: >- assertMatchesGolden() / assertMatchesGoldenBlocking(), baseline recording (-Dmaps.golden.record=true), and automatic _actual.png and _diff.png failure diagnostic artifacts. license: Apache-2.0 -compatibility: Requires compileSdk 34+, Java 11+ bytecode target, and com.google.maps.android:maps-testing-golden:1.0.0-rc01+. +compatibility: Requires compileSdk 34+, Java 11+ bytecode target, and com.google.maps.android:maps-testing-golden:1.0.0-rc01+. # x-release-please-version metadata: version: "1.3" author: Google Maps Platform DevRel diff --git a/.agents/skills/maps-robolectric-testing/SKILL.md b/.agents/skills/maps-robolectric-testing/SKILL.md index d26e790..b379df0 100644 --- a/.agents/skills/maps-robolectric-testing/SKILL.md +++ b/.agents/skills/maps-robolectric-testing/SKILL.md @@ -10,7 +10,7 @@ description: >- (findMapView / requireMapView), android-maps-utils marker clustering, or domain assertions using either Google Truth (assertThat(map)) or Kotlin Power-Assert (assertMap / assertMarker / assertGeo). license: Apache-2.0 -compatibility: Requires compileSdk 34+, Java 11+ bytecode target, Robolectric 4.14+, and com.google.maps.android:maps-testing-robolectric:1.0.0-rc01+. +compatibility: Requires compileSdk 34+, Java 11+ bytecode target, Robolectric 4.14+, and com.google.maps.android:maps-testing-robolectric:1.0.0-rc01+. # x-release-please-version metadata: version: "1.3" author: Google Maps Platform DevRel @@ -26,16 +26,14 @@ For the full multi-tier toolkit overview, see [`../android-maps-testing/SKILL.md ## 1. Setup & Dependencies - ```kotlin dependencies { - testImplementation("com.google.maps.android:maps-testing-robolectric:1.0.0-rc01") + testImplementation("com.google.maps.android:maps-testing-robolectric:1.0.0-rc01") // x-release-please-version testImplementation("org.robolectric:robolectric:4.17") // Optional if using Google Truth subjects instead of Kotlin Power-Assert: testImplementation("com.google.truth:truth:1.4.5") } ``` - Annotate your test class with: ```kotlin diff --git a/.agents/skills/maps-visual-testing/SKILL.md b/.agents/skills/maps-visual-testing/SKILL.md index 217f8e6..1337ba4 100644 --- a/.agents/skills/maps-visual-testing/SKILL.md +++ b/.agents/skills/maps-visual-testing/SKILL.md @@ -9,7 +9,7 @@ description: >- verifyScreenshotWithGoldenFallback, or drive UI interactions via natural-language prompts (executeNaturalLanguageAction). license: Apache-2.0 -compatibility: Requires compileSdk 34+, Java 11+ bytecode target, an Android emulator or device, and com.google.maps.android:maps-testing-visual:1.0.0-rc01+. +compatibility: Requires compileSdk 34+, Java 11+ bytecode target, an Android emulator or device, and com.google.maps.android:maps-testing-visual:1.0.0-rc01+. # x-release-please-version metadata: version: "1.3" author: Google Maps Platform DevRel diff --git a/README.md b/README.md index 0dde411..e4b84ff 100644 --- a/README.md +++ b/README.md @@ -68,10 +68,9 @@ JVM execution without devices? fidelity asser Add the desired artifacts to your `gradle/libs.versions.toml`: - ```toml [versions] -mapsTesting = "1.0.0-rc01" +mapsTesting = "1.0.0-rc01" # x-release-please-version robolectric = "4.17" truth = "1.4.5" @@ -82,7 +81,6 @@ maps-testing-visual = { module = "com.google.maps.android:maps-testing-visual", robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } truth = { module = "com.google.truth:truth", version.ref = "truth" } ``` - Then reference them in your module's `build.gradle.kts`: diff --git a/robolectric-testing/README.md b/robolectric-testing/README.md index efdba52..8a06919 100644 --- a/robolectric-testing/README.md +++ b/robolectric-testing/README.md @@ -20,10 +20,9 @@ High-fidelity Robolectric shadows and testing utilities for the Google Maps SDK ### 1. Declare Dependencies in `gradle/libs.versions.toml` (Recommended) - ```toml [versions] -mapsTesting = "1.0.0-rc01" +mapsTesting = "1.0.0-rc01" # x-release-please-version kotlin = "2.1.20" robolectric = "4.17" truth = "1.4.5" @@ -36,7 +35,6 @@ truth = { module = "com.google.truth:truth", version.ref = "truth" } [plugins] kotlin-power-assert = { id = "org.jetbrains.kotlin.plugin.power-assert", version.ref = "kotlin" } ``` - ### 2. Configure Your Module's `build.gradle.kts` @@ -84,17 +82,15 @@ dependencies {
Without Version Catalog (Direct Coordinates) - ```kotlin dependencies { - testImplementation("com.google.maps.android:maps-testing-robolectric:1.0.0-rc01") + testImplementation("com.google.maps.android:maps-testing-robolectric:1.0.0-rc01") // x-release-please-version testImplementation("org.robolectric:robolectric:4.17") // Optional: include only if using Google Truth subjects instead of Kotlin Power-Assert testImplementation("com.google.truth:truth:1.4.5") } ``` -