Skip to content

F-092: lock versionCode/versionName on androidBinary only#206

Merged
stepango merged 1 commit into
v2from
forma/F-092-version-on-binary
Jul 22, 2026
Merged

F-092: lock versionCode/versionName on androidBinary only#206
stepango merged 1 commit into
v2from
forma/F-092-version-on-binary

Conversation

@stepango

Copy link
Copy Markdown
Collaborator

Summary

Closes GH #82 / F-092.

Version identity was already correct in code (required versionCode/versionName on androidBinary → AGP defaultConfig; nothing on AndroidProjectSettings). This PR locks the contract in KDoc + product docs and marks the ticket done.

  • Per-binary only: each androidBinary declares version attrs (multi-APK monorepos)
  • Not project-global: no version fields on androidProjectConfiguration
  • androidApp: library composition shell — no version attrs (AGP application-module limit)

Verify (host)

  • plugins/: ./gradlew :android:compileKotlin build → BUILD SUCCESSFUL
  • application/: ./gradlew :binary:assembleDebug → BUILD SUCCESSFUL

Test plan

  • plugins android compile + build
  • sample binary assembleDebug
  • CI green on this PR

Document and KDoc the already-shipped per-binary version identity (GH #82): required attrs on androidBinary, never project-global, androidApp stays library shell.
@stepango
stepango merged commit 5cc94c3 into v2 Jul 22, 2026
7 of 8 checks passed
@stepango
stepango deleted the forma/F-092-version-on-binary branch July 22, 2026 23:49
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.

1 participant