Skip to content

feat: add Kotlin sample apps for all integrated kits#724

Merged
denischilik merged 2 commits into
workstation/6.0-Releasefrom
feat/all-kit-sample-apps
Jun 24, 2026
Merged

feat: add Kotlin sample apps for all integrated kits#724
denischilik merged 2 commits into
workstation/6.0-Releasefrom
feat/all-kit-sample-apps

Conversation

@denischilik

Copy link
Copy Markdown
Contributor

Summary

  • Add Kotlin example apps for every kit in settings-kits.gradle, following the Adjust sample pattern
  • Wire examples through settings-kit-examples.gradle and kits/matrix.json for CI build-kits workflow
  • Add vendor Maven repositories and multidex where needed so Apptimize, Localytics, and Singular examples build in CI

Test plan

  • CI build-kits passes for kits without skip_example_builds
  • ./gradlew ":kits:android-adjust:adjust-5:example-kotlin:assembleDebug" -c settings-kit-examples.gradle -Pmparticle.kit.mparticleFromMavenLocalOnly=true
  • ./gradlew ":kits:android-apptimize:apptimize-3:example-kotlin:assembleDebug" -c settings-kit-examples.gradle -Pmparticle.kit.mparticleFromMavenLocalOnly=true
  • ./gradlew ":kits:android-localytics:localytics-6:example-kotlin:assembleDebug" -c settings-kit-examples.gradle -Pmparticle.kit.mparticleFromMavenLocalOnly=true
  • Confirm Rokt example remains skipped in matrix (skip_example_builds) until AGP 8.6+

@denischilik denischilik requested a review from a team as a code owner June 24, 2026 13:42
@cursor

cursor Bot commented Jun 24, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Changes are limited to example apps, Gradle settings, and CI matrix—no kit runtime or SDK integration logic is modified.

Overview
Adds Kotlin example-kotlin sample apps across integrated Android kits (Adobe, AppsFlyer, Braze variants, GA/GA4, etc.), mirroring the existing Adjust pattern: minimal launcher UI, ExampleApplication that starts mParticle with placeholder credentials and logs a test event, and compileSdk/targetSdk 35.

CI integration: settings-kit-examples.gradle now includes and remaps all new example modules; kits/matrix.json lists each kit’s example_kotlin_project so build-kits runs assembleDebug on samples (Rokt keeps skip_example_builds).

Build fixes for samples: Adjust’s example is bumped from SDK 34→35; some apps enable multidex (MultiDexApplication where needed); Apptimize, Localytics, and Singular examples add vendor Maven repositories so dependencies resolve in CI.

Reviewed by Cursor Bugbot for commit 561e297. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9bb9c72. Configure here.

Comment thread .github/workflows/release-publish.yml
@denischilik denischilik changed the base branch from main to workstation/6.0-Release June 24, 2026 13:47
Replicate the Adjust example-app pattern across every kit in
settings-kits.gradle, wire them in settings-kit-examples.gradle and
kits/matrix.json, and add a generator script. Skip CI example builds for
kits that need custom Maven repos or AGP 8.6+.
Add kit-specific repositories and multidex to example apps that need
vendor Maven resolution, and drop skip_example_builds for those kits.
@denischilik denischilik force-pushed the feat/all-kit-sample-apps branch from 9bb9c72 to 561e297 Compare June 24, 2026 14:05
@denischilik denischilik changed the title feat(kits): add Kotlin sample apps for all integrated kits feat: add Kotlin sample apps for all integrated kits Jun 24, 2026
@denischilik denischilik merged commit 0ced357 into workstation/6.0-Release Jun 24, 2026
88 of 92 checks passed
@denischilik denischilik deleted the feat/all-kit-sample-apps branch June 24, 2026 16:16
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants