We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd3494d commit c84d03aCopy full SHA for c84d03a
1 file changed
plugin/src/withMParticleAndroid.ts
@@ -364,9 +364,12 @@ const withMParticleAppBuildGradle: ConfigPlugin<MParticlePluginProps> = (
364
}
365
366
// Generate kit dependency lines
367
- // Use + for version to auto-match core SDK version
+ // Bounded range matches the core SDK range in android/build.gradle so the
368
+ // kit and core stay paired on a 5.x line. An unbounded `+` would resolve
369
+ // to a pre-release (e.g. 6.0.0-rc.1) and transitively drag the core past
370
+ // the bridge's compiled-against API surface.
371
const kitDependencies = props.androidKits
- .map(kit => ` implementation "com.mparticle:${kit}:+"`)
372
+ .map(kit => ` implementation "com.mparticle:${kit}:[5.79.0, 6.0)"`)
373
.join('\n');
374
375
// Use mergeContents for idempotent injection
0 commit comments