Skip to content

chore(android): align the plugin's AGP classpath with the example's 9.4.0 - #154

Merged
kherembourg merged 1 commit into
mainfrom
chore/align-agp-classpath
Sep 7, 2026
Merged

chore(android): align the plugin's AGP classpath with the example's 9.4.0#154
kherembourg merged 1 commit into
mainfrom
chore/align-agp-classpath

Conversation

@kherembourg

Copy link
Copy Markdown
Collaborator

Follow-up to #145 / #143.

#145 landed AGP 9.4.0 in the example's settings.gradle — not the 9.3.1 its title says; Dependabot re-targeted to the latest when it rebased. #143, which would have moved purchasely/android's buildscript classpath, was closed as superseded and its branch deleted, leaving the two declarations divergent:

Where Declared Effective?
purchasely/example/android/settings.gradle com.android.application 9.4.0 yes
purchasely/android/build.gradle com.android.tools.build:gradle 9.0.1 only for a standalone module build

This is not a build fix — when Flutter builds the plugin as part of the example, the applied AGP comes from the example's pluginManagement. It keeps the two declarations from drifting, which is what makes the next AGP bump reviewable instead of confusing.

Both wrappers clear AGP 9.4's Gradle floor: purchasely/android on 9.7.1 (#150), the example on 9.6.1 (#140).

Verified locally: flutter build apk --debug green on the example.

🤖 Generated with Claude Code

….4.0

#145 landed AGP **9.4.0** in `purchasely/example/android/settings.gradle` — not
the 9.3.1 its title says: Dependabot re-targeted to the latest when it rebased.
#143, which would have moved `purchasely/android`'s buildscript classpath, was
closed as superseded and its branch deleted, so the two declarations diverged:

    example/settings.gradle    com.android.application  9.4.0   (effective)
    purchasely/android         com.android.tools.build  9.0.1   (stale)

The classpath here only takes effect for a standalone module build — when Flutter
builds the plugin as part of the example, the applied version comes from the
example's pluginManagement. So this is not a build fix; it is keeping the two
declarations from drifting, which is what makes the next AGP bump reviewable.

Both wrappers clear AGP 9.4's Gradle floor: `purchasely/android` on 9.7.1 (#150),
the example on 9.6.1 (#140).

Verified: `flutter build apk --debug` green on the example, which exercises the
effective AGP.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Sep 7, 2026

Copy link
Copy Markdown

No reviewable files after applying ignore patterns.

@kherembourg
kherembourg merged commit 31c7c75 into main Sep 7, 2026
12 checks passed
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.

2 participants