Skip to content

ADFA-2602: Correct version references in plugin docs and metadata comments - #1648

Open
Daniel-ADFA wants to merge 2 commits into
task/ADFA-2602-toolchain-agp9from
task/ADFA-2602-doc-version-refs
Open

ADFA-2602: Correct version references in plugin docs and metadata comments#1648
Daniel-ADFA wants to merge 2 commits into
task/ADFA-2602-toolchain-agp9from
task/ADFA-2602-doc-version-refs

Conversation

@Daniel-ADFA

Copy link
Copy Markdown
Contributor

PLUGIN_AUTHORING.md told plugin authors to request AGP 8.11.0 and Kotlin
1.9.22 for an on-device build. The harvested localMvnRepository now ships
AGP 9.3.1 and Kotlin 2.3.21, so those instructions produced an
unresolvable build.

The apiVersion/languageVersion pins in common, eventbus-events,
idetooltips and plugin-api stay at 2.0. Their comments named 1.9.22 as the
reason, which no longer holds; the real invariant is that the jar must stay
readable by every supported on-device compiler, including a device still on
an older bundled toolchain after a KOTLIN_VERSION bump. Reworded to say
that instead of naming a version that will keep going stale.


Stack created with GitHub Stacks CLIGive Feedback 💬

…ments

PLUGIN_AUTHORING.md told plugin authors to request AGP 8.11.0 and Kotlin
1.9.22 for an on-device build. The harvested localMvnRepository now ships
AGP 9.3.1 and Kotlin 2.3.21, so those instructions produced an
unresolvable build.

The apiVersion/languageVersion pins in common, eventbus-events,
idetooltips and plugin-api stay at 2.0. Their comments named 1.9.22 as the
reason, which no longer holds; the real invariant is that the jar must stay
readable by every supported on-device compiler, including a device still on
an older bundled toolchain after a KOTLIN_VERSION bump. Reworded to say
that instead of naming a version that will keep going stale.
@Daniel-ADFA
Daniel-ADFA marked this pull request as ready for review August 11, 2026 13:58

@claude claude 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.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

Comment thread docs/PLUGIN_AUTHORING.md Outdated
…ions

The on-device localMvnRepository ships AGP 9.3.1, Gradle 9.6.1 and Kotlin 2.3.21,
not AGP 8.13.1 / Kotlin 2.3.0. AGP 9 also refuses org.jetbrains.kotlin.android and
takes its compiler from the kotlin-gradle-plugin jar on the root buildscript
classpath, so the documented root snippet would have failed to configure.

Name the constants that pin these versions, so the doc stops going stale on every
bump rather than being corrected after the fact.
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