You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 33f3987
Browse filesBrowse the repository at this point in the historyBrowse files
- Take the per-ABI versionCode base from a finalizeDsl snapshot of the
DSL versionCodes (DslVersionCodes) instead of reading
output.versionCode, which AGP rejects during configuration when
android.compatibility.enableLegacyApi=false. Warn and skip when the
DSL declares no versionCode.
- Add a strict-mode (enableLegacyApi=false) case to
flutter_build_apk_split_per_abi_test.
- CopyFlutterApksTask: use Gradle's Copy/Sync caching annotation and
reason; explain when the metadata can be missing and when the ABI
check can fail; point both errors at the plugin that transforms
SingleArtifact.APK instead of asking for a Flutter issue.
- Document what an APK transform must keep in website-page-draft.md.
- Link the website-page-draft.md references to tracking issue #193713.
- Remove temporal wording from KDoc and docs.
describes AGP 10.0 as completing the move to a fully lazy build model, so P6 does not
89
+
depend on the option and ships the `finalizeDsl` snapshot
90
+
instead: `DslVersionCodes` reads `defaultConfig.versionCode` and each product
91
+
flavor's `versionCode` in `finalizeDsl`, and `configureSplitPerAbiVersionCodes` in
92
+
`FlutterPlugin.kt` sets `abiOffset * 1000 + base` without reading the property.
93
+
`DslVersionCodes.forVariant` matches AGP's merge (the first flavor in dimension order
94
+
that sets a versionCode, then `defaultConfig`). A versionCode set only in the
95
+
manifest is not offset, because AGP reads it at execution time. The
96
+
`split_per_abi` integration test covers `enableLegacyApi=false`. See "Features that
97
+
must break" item 3 for the effect on apps that change `versionCode` in their own
98
+
`onVariants`.
95
99
5.**`buildModeFor` semantics.** Every variant-scope call uses the
96
100
`(name, debuggable)` overload with the public `Component.debuggable`.
97
101
Name-based inference is confined to the one DSL-scope case with no public
@@ -119,7 +123,7 @@ projects. That opt-out dies with AGP 10.
119
123
|`internal.dsl.BuildType` live aliasing into plugin projects |`PluginHandler.kt`|`initWith`-based copy on new-DSL `BuildType`; app-specific props only when both sides are `ApplicationBuildType`| P3 |
0 commit comments