ADFA-6142 | Migrate AI Literacy Course into the plugin gallery - #102
Merged
hal-eisen-adfa merged 1 commit intoSep 18, 2026
Merged
Conversation
Move the addon from the repository root into `plugins/` so it publishes through the normal addon pipeline. The directory is `AI-Literacy-Course`, not `ai-literacy-course`: the catalog requires each hyphen-separated part to start with a capital. The derived values do not change — the slug stays `ai-literacy-course`, so `pluginName`, the documentation filename and `plugin.id` are all untouched, and the display name stays `AI Literacy Course`. - `../libs/*.jar` becomes `../../libs/*.jar` in `build.gradle.kts` and `settings.gradle.kts`, for the extra directory level. - Drop the local Gradle wrapper and use the shared root wrapper. - Add `addon.json`, which the catalog requires. - Set the documentation page title to `AI Literacy Course` exactly. - Remove the `skip.txt` entry. No pull request is open against this addon, so the reason the entry gives no longer holds. - Add the README row. Verified: `addons check` passes, `addons discover` lists the addon as publishable, and `../../gradlew assemblePlugin` builds a 118 MB `.cgp` that contains the course ZIP, `pdfjs.zip`, both icons and the Tier 3 documentation. Not verified on a device.
There was a problem hiding this comment.
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.
jatezzz
approved these changes
Sep 18, 2026
hal-eisen-adfa
deleted the
chore/ADFA-6142-move-ai-literacy-course-into-plugins
branch
September 18, 2026 15:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the AI Literacy Course addon from the repository root into
plugins/, so it publishes through the normal addon pipeline instead of staying held back.Closes ADFA-6142.
Why the directory is
AI-Literacy-CourseThe catalog requires each hyphen-separated part of a directory name to start with a capital (
model.directory_is_valid), soai-literacy-coursecannot be published as-is.The capitalised name changes nothing else. The slug is the directory lowercased, so it stays
ai-literacy-course, and the display name is the directory with spaces, so it staysAI Literacy Course. That meanspluginName,plugin.id,plugin.name,rootProject.nameand the documentation filename are all untouched.Changes
ai-literacy-course/→plugins/AI-Literacy-Course/../libs/*.jar→../../libs/*.jarfor the extra directory levelbuild.gradle.kts:60,settings.gradle.kts:15,16gradlew,gradlew.bat,gradle/wrapper/addon.json, which the catalog requiresplugins/AI-Literacy-Course/addon.jsonAI Literacy Courseai-literacy-course.html:6tools/addons/skip.txtREADME.mdplugins/AI-Literacy-Course/README.mdWhy the skip entry goes
skip.txtheld the addon back because "other pull requests are in flight against them". No open pull request touchesai-literacy-course/— checked #101, #100, #99, #96, #88, #30 and #22 — so the reason no longer holds. The other five AI addons stay skipped and are not touched.Reviewers: one behaviour change to confirm
update-libs.yml:100releasesplugins/*/build/plugin/*.cgp. At the repository root the course.cgpdid not match that glob; underplugins/it does, so every "Update libs" release will now carry a ~118 MB asset. This is intended — it is a normal plugin now — but it is a real change in release size and worth a conscious ack.Verification
addons checkaddons discoverplugins/AI-Literacy-Courseas publishable, not skipped../../gradlew assemblePluginfrom the new location../../libsclasspath and the shared wrapper both resolveunzip -lon the.cgpassets/ai-literacy-course.zip,assets/pdfjs.zip, both icons,assets/docs/index.htmland the manifestNot verified on a device. This addon extracts its bundle on-device through
CourseInstaller, so a green build is necessary but not sufficient. Nothing in this pull request changes extraction or generation logic, soINSTALL_VERSIONis deliberately not bumped.Note for anyone rebuilding by hand: run
downloadAssetsas its own invocation beforeassemblePlugin. Combining them in one Gradle invocation fails the implicit-dependency check, which is pre-existing and not introduced here.