[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-kotlin-tooling-agp9-migration":3,"mdc-lr2vih-key":39,"related-org-jetbrains-kotlin-tooling-agp9-migration":4468,"related-repo-jetbrains-kotlin-tooling-agp9-migration":4599},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":34,"sourceUrl":37,"mdContent":38},"kotlin-tooling-agp9-migration","migrate KMP projects to AGP 9.0","Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions AGP 9.0, android multiplatform plugin, KMP migration, or com.android.kotlin.multiplatform.library.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"Kotlin","kotlin","tag",{"name":17,"slug":18,"type":15},"Gradle","gradle",{"name":20,"slug":21,"type":15},"Android","android",{"name":23,"slug":24,"type":15},"Mobile","mobile",{"name":26,"slug":27,"type":15},"Migration","migration",252,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills","2026-07-17T06:06:50.048405","Apache-2.0",17,[],{"repoUrl":29,"stars":28,"forks":32,"topics":35,"description":36},[],"Curated agent skills collection verified by JetBrains","https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills\u002Ftree\u002FHEAD\u002Fkotlin-tooling-agp9-migration","---\nname: kotlin-tooling-agp9-migration\ndescription: >\n  Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+.\n  Handles plugin replacement (com.android.kotlin.multiplatform.library), module\n  splitting, DSL migration, and the new default project structure. Use when\n  upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the\n  user mentions AGP 9.0, android multiplatform plugin, KMP migration, or\n  com.android.kotlin.multiplatform.library.\nlicense: Apache-2.0\nmetadata:\n  short-description: \"Migrate KMP projects to AGP 9\"\n  author: JetBrains\n  version: \"1.0.0\"\n  source: https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-agent-skills\u002Ftree\u002Fmain\u002Fskills\u002Fkotlin-tooling-agp9-migration\n---\n\n# KMP AGP 9.0 Migration\n\nAndroid Gradle Plugin 9.0 makes the Android application and library plugins incompatible\nwith the Kotlin Multiplatform plugin in the same module. This skill guides you through the\nmigration.\n\n## Step 0: Analyze the Project\n\nBefore making any changes, understand the project structure:\n\n1. Read `settings.gradle.kts` (or `.gradle`) to find all modules\n2. For each module, read its `build.gradle.kts` to identify which plugins are applied\n3. Check if the project uses a Gradle version catalog (`gradle\u002Flibs.versions.toml`). If it exists,\n   read it for current AGP\u002FGradle\u002FKotlin versions. If not, find versions directly in `build.gradle.kts`\n   files (typically in the root `buildscript {}` or `plugins {}` block). **Adapt all examples in this\n   guide accordingly** — version catalog examples use `alias(libs.plugins.xxx)` while direct usage\n   uses `id(\"plugin.id\") version \"x.y.z\"`\n4. Read `gradle\u002Fwrapper\u002Fgradle-wrapper.properties` for the Gradle version\n5. Check `gradle.properties` for any existing workarounds (`android.enableLegacyVariantApi`)\n6. Check for `org.jetbrains.kotlin.android` plugin usage — AGP 9.0 has built-in Kotlin and this plugin must be removed\n7. Check for `org.jetbrains.kotlin.kapt` plugin usage — incompatible with built-in Kotlin, must migrate to KSP or `com.android.legacy-kapt`\n8. Check for third-party plugins that may be incompatible with AGP 9.0 (see \"Plugin Compatibility\" section below)\n\nIf Bash is available, run `scripts\u002Fanalyze-project.sh` from this skill's directory to get a\nstructured summary.\n\n### Classify Each Module\n\nFor each module, determine its type:\n\n| Current plugins | Migration path |\n|----------------|----------------|\n| `kotlin.multiplatform` + `com.android.library` | **Path A** — Library plugin swap |\n| `kotlin.multiplatform` + `com.android.application` | **Path B** — Mandatory Android split |\n| `kotlin.multiplatform` with multiple platform entry points in one module | **Path C** — Full restructure (recommended) |\n| `com.android.application` or `com.android.library` (no KMP) | See \"Pure Android Tips\" below |\n\n### Determine Scope\n\n- **Path B is mandatory** for any module combining KMP + Android application plugin\n- **Path C is recommended** when the project has a monolithic `composeApp` (or similar) module\n  containing entry points for multiple platforms (Android, Desktop, Web). This aligns with the\n  new JetBrains default project structure where each platform gets its own app module.\n- **Ask the user** whether they want Path B only (minimum required) or Path C (recommended full restructure)\n\n## Path A: Library Module Migration\n\nUse this when a module applies `kotlin.multiplatform` + `com.android.library`.\n\nSee [references\u002FMIGRATION-LIBRARY.md](references\u002FMIGRATION-LIBRARY.md) for full before\u002Fafter code.\n\nSummary:\n\n1. **Replace plugin**: `com.android.library` → `com.android.kotlin.multiplatform.library`\n2. **Remove `org.jetbrains.kotlin.android`** plugin if present (AGP 9.0 has built-in Kotlin support)\n3. **Migrate DSL**: Move config from top-level `android {}` block into `kotlin { android {} }`:\n   ```kotlin\n   kotlin {\n       android {\n           namespace = \"com.example.lib\"\n           compileSdk = 35\n           minSdk = 24\n       }\n   }\n   ```\n4. **Rename source directories** (only if the module uses classic Android layout instead of KMP layout):\n   - `src\u002Fmain` → `src\u002FandroidMain`\n   - `src\u002Ftest` → `src\u002FandroidHostTest`\n   - `src\u002FandroidTest` → `src\u002FandroidDeviceTest`\n   - If the module already uses `src\u002FandroidMain\u002F`, no directory renames are needed\n5. **Move dependencies** from top-level `dependencies {}` into `sourceSets`:\n   ```kotlin\n   kotlin {\n       sourceSets {\n           androidMain.dependencies {\n               implementation(\"androidx.appcompat:appcompat:1.7.0\")\n           }\n       }\n   }\n   ```\n6. **Enable resources** explicitly if the module uses Android resources:\n   ```kotlin\n   kotlin {\n       android {\n           androidResources { enable = true }\n       }\n   }\n   ```\n7. **Enable Java** compilation if module has `.java` source files:\n   ```kotlin\n   kotlin {\n       android {\n           withJava()\n       }\n   }\n   ```\n8. **Enable tests** explicitly if the module has unit or instrumented tests:\n   ```kotlin\n   kotlin {\n       android {\n           withHostTest { isIncludeAndroidResources = true }\n           withDeviceTest {\n               instrumentationRunner = \"androidx.test.runner.AndroidJUnitRunner\"\n           }\n       }\n   }\n   ```\n9. **Update Compose tooling dependency**:\n   ```kotlin\n   \u002F\u002F Old: debugImplementation(libs.androidx.compose.ui.tooling)\n   \u002F\u002F New:\n   dependencies {\n       androidRuntimeClasspath(libs.androidx.compose.ui.tooling)\n   }\n   ```\n10. **Publish consumer ProGuard rules** explicitly if applicable:\n    ```kotlin\n    kotlin {\n        android {\n            consumerProguardFiles.add(file(\"consumer-rules.pro\"))\n        }\n    }\n    ```\n\n## Path B: Android App + Shared Module Split\n\nUse this when a module applies `kotlin.multiplatform` + `com.android.application`.\nThis is **mandatory** for AGP 9.0 compatibility.\n\nSee [references\u002FMIGRATION-APP-SPLIT.md](references\u002FMIGRATION-APP-SPLIT.md) for full guide.\n\nSummary:\n\n1. **Create `androidApp` module** with its own `build.gradle.kts`:\n   ```kotlin\n   plugins {\n       alias(libs.plugins.androidApplication)\n       \u002F\u002F Do NOT apply kotlin-android — AGP 9.0 includes Kotlin support\n       alias(libs.plugins.composeMultiplatform)  \u002F\u002F if using Compose\n       alias(libs.plugins.composeCompiler)       \u002F\u002F if using Compose\n   }\n\n   android {\n       namespace = \"com.example.app\"\n       compileSdk = 35\n       defaultConfig {\n           applicationId = \"com.example.app\"\n           minSdk = 24\n           targetSdk = 35\n           versionCode = 1\n           versionName = \"1.0\"\n       }\n       buildFeatures { compose = true }\n   }\n\n   dependencies {\n       implementation(projects.shared)  \u002F\u002F or whatever the shared module is named\n       implementation(libs.androidx.activity.compose)\n   }\n   ```\n2. **Move Android entry point code** from `src\u002FandroidMain\u002F` to `androidApp\u002Fsrc\u002Fmain\u002F`:\n   - `MainActivity.kt` (and any other Activities\u002FFragments)\n   - `AndroidManifest.xml` (app-level manifest with `\u003Capplication>` and launcher `\u003Cactivity>`) — verify `android:name` on `\u003Cactivity>` uses the fully qualified class name in its new location\n   - Android Application class if present\n   - App-level resources (launcher icons, theme, etc.)\n3. **Add to `settings.gradle.kts`**: `include(\":androidApp\")`\n4. **Add to root `build.gradle.kts`**: plugin declarations with `apply false`\n5. **Convert original module** from application to library using Path A steps\n6. **Ensure different namespaces**: app module and library module must have distinct namespaces\n7. **Remove from shared module**: `applicationId`, `targetSdk`, `versionCode`, `versionName`\n8. **Update IDE run configurations**: change the module from the old module to `androidApp`\n\n## Path C: Full Restructure (Recommended)\n\nUse this when the project has a monolithic module (typically `composeApp`) containing entry\npoints for multiple platforms. This is optional but aligns with the new JetBrains default.\n\nSee [references\u002FMIGRATION-FULL-RESTRUCTURE.md](references\u002FMIGRATION-FULL-RESTRUCTURE.md) for full guide.\n\n### Target Structure\n\n```\nproject\u002F\n├── shared\u002F              ← KMP library (was composeApp), pure shared code\n├── androidApp\u002F          ← Android entry point only\n├── desktopApp\u002F          ← Desktop entry point only (if desktop target exists)\n├── webApp\u002F              ← Wasm\u002FJS entry point only (if web target exists)\n├── iosApp\u002F              ← iOS Xcode project (usually already separate)\n└── ...\n```\n\n### Steps\n\n1. **Apply Path B first** — extract `androidApp` (mandatory for AGP 9.0)\n2. **Extract `desktopApp`** (if desktop target exists):\n   - Create module with `org.jetbrains.compose` and `application {}` plugin\n   - Move `main()` function from `desktopMain` to `desktopApp\u002Fsrc\u002Fmain\u002Fkotlin\u002F`\n   - Move `compose.desktop { application { ... } }` config to `desktopApp\u002Fbuild.gradle.kts`\n   - Add dependency on `shared` module\n3. **Extract `webApp`** (if wasmJs\u002Fjs target exists):\n   - Create module with appropriate Kotlin\u002FJS or Kotlin\u002FWasm configuration\n   - Move web entry point from `wasmJsMain`\u002F`jsMain` to `webApp\u002Fsrc\u002FwasmJsMain\u002Fkotlin\u002F`\n   - Move browser\u002Fdistribution config to `webApp\u002Fbuild.gradle.kts`\n   - Add dependency on `shared` module\n4. **iOS** — typically already in a separate `iosApp` directory. Verify:\n   - Framework export config (`binaries.framework`) stays in `shared` module\n   - Xcode project references the correct framework path\n5. **Rename module** from `composeApp` to `shared`:\n   - Rename directory\n   - Update `settings.gradle.kts` include\n   - Update all dependency references across modules\n6. **Clean up shared module**: remove all platform entry point code and app-specific config\n   that was moved to the platform app modules\n\n### Variant: Native UI\n\nIf some platforms use native UI (e.g., SwiftUI for iOS), split `shared` into:\n- `sharedLogic` — business logic consumed by ALL platforms\n- `sharedUI` — Compose Multiplatform UI consumed only by platforms using shared UI\n\n### Variant: Server\n\nIf the project includes a server target:\n- Add `server` module at the root\n- Move all client modules under an `app\u002F` directory\n- Add `core` module for code shared between server and client (models, validation)\n\n## Version Updates\n\nThese are required regardless of migration path:\n\n1. **Gradle wrapper** — update to 9.1.0+:\n   ```properties\n   # gradle\u002Fwrapper\u002Fgradle-wrapper.properties\n   distributionUrl=https\\:\u002F\u002Fservices.gradle.org\u002Fdistributions\u002Fgradle-9.1.0-bin.zip\n   ```\n2. **AGP version** — update to 9.0.0+.\n\n   If using a version catalog (`gradle\u002Flibs.versions.toml`):\n   ```toml\n   [versions]\n   agp = \"9.0.0\"\n   ```\n\n   If versions are set directly in build files, update all `com.android.*` plugin version strings:\n   ```kotlin\n   \u002F\u002F root build.gradle.kts\n   plugins {\n       id(\"com.android.application\") version \"9.0.0\" apply false\n   }\n   ```\n3. **Add the KMP library plugin**.\n\n   With version catalog:\n   ```toml\n   [plugins]\n   android-kotlin-multiplatform-library = { id = \"com.android.kotlin.multiplatform.library\", version.ref = \"agp\" }\n   ```\n\n   Without version catalog — use the plugin ID directly in build files:\n   ```kotlin\n   \u002F\u002F root build.gradle.kts\n   plugins {\n       id(\"com.android.kotlin.multiplatform.library\") version \"9.0.0\" apply false\n   }\n   \u002F\u002F module build.gradle.kts\n   plugins {\n       id(\"com.android.kotlin.multiplatform.library\")\n   }\n   ```\n4. **Root build.gradle.kts** — add `apply false` for new plugin (see examples above)\n5. **JDK** — ensure JDK 17+ is used (required by AGP 9.0)\n6. **SDK Build Tools** — update to 36.0.0:\n   ```\n   Install via SDK Manager or configure in android { buildToolsVersion = \"36.0.0\" }\n   ```\n7. **Remove legacy workarounds** from `gradle.properties`:\n   - Remove `android.enableLegacyVariantApi=true` (removed in AGP 9.0, causes error if present)\n   - Remove `android.r8.integratedResourceShrinking` (removed in AGP 9.0, causes error if present)\n   - Remove `android.enableNewResourceShrinker.preciseShrinking` (removed in AGP 9.0, causes error if present)\n   - Remove `android.builtInKotlin=false` (unless needed for plugin compatibility — see Plugin Compatibility)\n   - Remove `android.newDsl=false` (unless needed for plugin compatibility)\n8. **Review gradle.properties defaults** — see \"Gradle Properties Default Changes\" section for properties\n   whose defaults changed in AGP 9.0\n\n## Built-in Kotlin Migration\n\nAGP 9.0 enables built-in Kotlin support by default for all `com.android.application` and `com.android.library`\nmodules. The `org.jetbrains.kotlin.android` plugin is no longer needed and will conflict if applied.\n\n**Important:** Built-in Kotlin does NOT replace KMP support. KMP library modules still need\n`org.jetbrains.kotlin.multiplatform` + `com.android.kotlin.multiplatform.library`.\n\n### Detection\n\nCheck if the project uses `org.jetbrains.kotlin.android` or `kotlin-android` in any build files.\nIf found, this migration is needed. If not, check `gradle.properties` for `android.builtInKotlin=false`\nwhich may indicate a previous opt-out.\n\n### Step 1: Remove kotlin-android Plugin\n\nRemove from **all** module-level and root-level build files:\n\n```kotlin\n\u002F\u002F Remove from module build.gradle.kts\nplugins {\n    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.android)\n    \u002F\u002F REMOVE: id(\"org.jetbrains.kotlin.android\")\n}\n\n\u002F\u002F Remove from root build.gradle.kts\nplugins {\n    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.android) apply false\n}\n```\n\nRemove from version catalog (`gradle\u002Flibs.versions.toml`):\n```toml\n[plugins]\n# REMOVE: kotlin-android = { id = \"org.jetbrains.kotlin.android\", version.ref = \"kotlin\" }\n```\n\n### Step 2: Migrate kapt to KSP or legacy-kapt\n\nThe `org.jetbrains.kotlin.kapt` plugin is **incompatible** with built-in Kotlin.\n\n**Preferred: Migrate to KSP** — see the KSP migration guide for each annotation processor.\n\n**Fallback: Use `com.android.legacy-kapt`** (same version as AGP):\n```toml\n# gradle\u002Flibs.versions.toml\n[plugins]\nlegacy-kapt = { id = \"com.android.legacy-kapt\", version.ref = \"agp\" }\n```\n```kotlin\n\u002F\u002F Module build.gradle.kts — replace kotlin-kapt with legacy-kapt\nplugins {\n    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.kapt)\n    alias(libs.plugins.legacy.kapt)\n}\n```\n\n### Step 3: Migrate kotlinOptions to compilerOptions\n\nFor pure Android modules (non-KMP), migrate `android.kotlinOptions {}` to the top-level\n`kotlin.compilerOptions {}`:\n\n```kotlin\n\u002F\u002F Old\nandroid {\n    kotlinOptions {\n        jvmTarget = \"11\"\n        languageVersion = \"2.0\"\n        freeCompilerArgs += listOf(\"-Xopt-in=kotlin.RequiresOptIn\")\n    }\n}\n\n\u002F\u002F New\nkotlin {\n    compilerOptions {\n        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)\n        languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0)\n        optIn.add(\"kotlin.RequiresOptIn\")\n    }\n}\n```\n\n**Note:** With built-in Kotlin, `jvmTarget` defaults to `android.compileOptions.targetCompatibility`,\nso it may be optional if you already set `compileOptions`.\n\n### Step 4: Migrate kotlin.sourceSets to android.sourceSets\n\nWith built-in Kotlin, only `android.sourceSets {}` with the `kotlin` set is supported:\n\n```kotlin\n\u002F\u002F NOT SUPPORTED with built-in Kotlin:\nkotlin.sourceSets.named(\"main\") {\n    kotlin.srcDir(\"additionalSourceDirectory\u002Fkotlin\")\n}\n\n\u002F\u002F Correct:\nandroid.sourceSets.named(\"main\") {\n    kotlin.directories += \"additionalSourceDirectory\u002Fkotlin\"\n}\n```\n\nFor generated sources, use the Variant API:\n```kotlin\nandroidComponents.onVariants { variant ->\n    variant.sources.kotlin!!.addStaticSourceDirectory(\"additionalSourceDirectory\u002Fkotlin\")\n}\n```\n\n### Per-Module Migration Strategy\n\nFor large projects, migrate module-by-module:\n\n1. Disable globally: `android.builtInKotlin=false` in `gradle.properties`\n2. Enable per migrated module by applying the opt-in plugin:\n   ```kotlin\n   plugins {\n       id(\"com.android.built-in-kotlin\") version \"AGP_VERSION\"\n   }\n   ```\n3. Follow Steps 1-4 for that module\n4. Once all modules are migrated, remove `android.builtInKotlin=false` and all `com.android.built-in-kotlin` plugins\n\n### Optional: Disable Kotlin for Non-Kotlin Modules\n\nFor modules that contain **no Kotlin sources**, disable built-in Kotlin to save build time:\n\n```kotlin\nandroid {\n    enableKotlin = false\n}\n```\n\n### Opt-Out (Temporary)\n\nIf blocked by plugin incompatibilities, opt out temporarily:\n\n```properties\n# gradle.properties\nandroid.builtInKotlin=false\nandroid.newDsl=false  # also required if using new DSL opt-out\n```\n\n**Warning:** Ask the user if they want to opt out, and if so,\nremind them this is a temporary measure.\n\n## Plugin Compatibility\n\nSee [references\u002FPLUGIN-COMPATIBILITY.md](references\u002FPLUGIN-COMPATIBILITY.md) for the full compatibility\ntable with known compatible versions, opt-out flag workarounds, and broken plugins.\n\n**Before migrating**, inventory all plugins in the project and check each against that table. If any\nplugin is broken without workaround, inform the user. If plugins need opt-out flags, add them to\n`gradle.properties` and note them as temporary workarounds.\n\n## Gradle Properties Default Changes\n\nAGP 9.0 changes the defaults for many gradle properties. Check `gradle.properties` for any explicitly\nset values that may now conflict. Key changes:\n\n| Property | Old Default | New Default | Action |\n|----------|-------------|-------------|--------|\n| `android.uniquePackageNames` | `false` | `true` | Ensure each library has a unique namespace |\n| `android.enableAppCompileTimeRClass` | `false` | `true` | Refactor `switch` on R fields to `if\u002Felse` |\n| `android.defaults.buildfeatures.resvalues` | `true` | `false` | Enable `resValues = true` where needed |\n| `android.defaults.buildfeatures.shaders` | `true` | `false` | Enable shaders where needed |\n| `android.r8.optimizedResourceShrinking` | `false` | `true` | Review R8 keep rules |\n| `android.r8.strictFullModeForKeepRules` | `false` | `true` | Update keep rules to be explicit |\n| `android.proguard.failOnMissingFiles` | `false` | `true` | Remove invalid ProGuard file references |\n| `android.r8.proguardAndroidTxt.disallowed` | `false` | `true` | Use `proguard-android-optimize.txt` only |\n| `android.r8.globalOptionsInConsumerRules.disallowed` | `false` | `true` | Remove global options from library consumer rules |\n| `android.sourceset.disallowProvider` | `false` | `true` | Use `Sources` API on androidComponents |\n| `android.sdk.defaultTargetSdkToCompileSdkIfUnset` | `false` | `true` | Specify `targetSdk` explicitly |\n| `android.onlyEnableUnitTestForTheTestedBuildType` | `false` | `true` | Only if testing non-default build types |\n\nCheck for and remove properties that now cause errors:\n- `android.r8.integratedResourceShrinking` — removed, always on\n- `android.enableNewResourceShrinker.preciseShrinking` — removed, always on\n\n## Pure Android Tips\n\nFor non-KMP Android modules upgrading to AGP 9.0:\n\n- **Remove `org.jetbrains.kotlin.android`** plugin — AGP 9.0 includes Kotlin support built-in (see \"Built-in Kotlin Migration\" above)\n- **Migrate kapt** to KSP or `com.android.legacy-kapt`\n- **Migrate `kotlinOptions`** to `kotlin { compilerOptions {} }`\n- **Migrate `kotlin.sourceSets`** to `android.sourceSets` with `.kotlin` accessor\n- **Review new DSL interfaces** — `BaseExtension` is removed; use `CommonExtension` or specific extension types\n- **Java default changed** from Java 8 to Java 11 — ensure `compileOptions` reflects this\n- **R class is now compile-time non-final** in app modules — refactor any `switch` statements on R class fields to `if\u002Felse`\n- **targetSdk defaults to compileSdk** if not set — specify `targetSdk` explicitly to avoid surprises\n- **NDK default changed to r28c** — specify `ndkVersion` explicitly if using native code\n- **Temporary opt-out**: `android.builtInKotlin=false` + `android.newDsl=false` in `gradle.properties` (removed in AGP 10)\n\n## Verification\n\nAfter migration, verify with the [checklist](assets\u002Fchecklist.md). Key checks:\n\n1. `.\u002Fgradlew build` succeeds with no errors\n2. `.\u002Fgradlew :androidApp:assembleDebug` succeeds (if app module exists)\n3. No `com.android.library` or `com.android.application` in KMP modules\n4. No `org.jetbrains.kotlin.android` in AGP 9.0 modules\n5. Source sets use correct names (`androidMain`, `androidHostTest`, `androidDeviceTest`)\n6. No deprecation warnings about variant API\n7. Run configurations point to correct modules\n\n## Common Issues\n\nSee [references\u002FKNOWN-ISSUES.md](references\u002FKNOWN-ISSUES.md) for details. Key gotchas:\n\n### KMP Library Plugin Issues\n- **BuildConfig unavailable** in library modules — use DI\u002F`AppConfiguration` interface, or use [BuildKonfig](https:\u002F\u002Fgithub.com\u002Fyshrsmz\u002FBuildKonfig) or [gradle-buildconfig-plugin](https:\u002F\u002Fgithub.com\u002Fgmazzo\u002Fgradle-buildconfig-plugin) for compile-time constants\n- **No build variants** — single variant architecture; compile-time constants can use BuildKonfig\u002Fgradle-buildconfig-plugin flavors, but variant-specific dependencies\u002Fresources\u002Fsigning must move to app module\n- **NDK\u002FJNI unsupported** in new plugin — extract to separate `com.android.library` module\n- **Compose resources crash** without `androidResources { enable = true }` (CMP-9547)\n- **Consumer ProGuard rules silently dropped** if not migrated to `consumerProguardFiles.add(file(...))` in new DSL\n- **KSP** requires version 2.3.4+ for AGP 9.0 compatibility\n\n### AGP 9.0 General Issues\n- **Built-in Kotlin conflicts** — `org.jetbrains.kotlin.android` must be removed; kapt must be replaced\n- **BaseExtension removed** — convention plugins using old DSL types need rewriting\n- **Variant APIs removed** — `applicationVariants`, `libraryVariants`, `variantFilter` replaced by `androidComponents`\n- **R class non-final** — `switch` on R fields fails in app modules; refactor to `if\u002Felse`\n- **targetSdk defaults to compileSdk** — set explicitly to avoid unexpected behavior changes\n- **R8 rule changes** — strict full mode, no global options in consumer rules\n- **Plugin compatibility** — many plugins need updates or opt-out flags; check Plugin Compatibility section\n- **Convention plugins** need refactoring — old `android {}` extension helpers are obsolete\n\n## Reference Files\n\n- [DSL Reference](references\u002FDSL-REFERENCE.md) — side-by-side old→new DSL mapping\n- [Version Matrix](references\u002FVERSION-MATRIX.md) — AGP\u002FGradle\u002FKGP\u002FIDE compatibility\n- [Plugin Compatibility](references\u002FPLUGIN-COMPATIBILITY.md) — third-party plugin status and workarounds\n",{"data":40,"body":45},{"name":4,"description":6,"license":31,"metadata":41},{"short-description":42,"author":9,"version":43,"source":44},"Migrate KMP projects to AGP 9","1.0.0","https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-agent-skills\u002Ftree\u002Fmain\u002Fskills\u002Fkotlin-tooling-agp9-migration",{"type":46,"children":47},"root",[48,57,63,70,75,242,255,262,267,400,406,448,454,472,485,490,1090,1096,1120,1131,1135,1573,1579,1591,1601,1607,1617,1623,1910,1916,1928,1953,1959,1964,2005,2011,2016,2393,2399,2424,2447,2453,2486,2492,2504,2586,2597,2619,2625,2644,2654,2669,2699,2744,2750,2770,2906,2939,2945,2965,3041,3046,3076,3082,3087,3166,3172,3184,3213,3219,3224,3255,3265,3271,3282,3299,3305,3317,3791,3796,3818,3824,3829,4040,4046,4059,4149,4155,4166,4172,4283,4289,4422,4428,4462],{"type":49,"tag":50,"props":51,"children":53},"element","h1",{"id":52},"kmp-agp-90-migration",[54],{"type":55,"value":56},"text","KMP AGP 9.0 Migration",{"type":49,"tag":58,"props":59,"children":60},"p",{},[61],{"type":55,"value":62},"Android Gradle Plugin 9.0 makes the Android application and library plugins incompatible\nwith the Kotlin Multiplatform plugin in the same module. This skill guides you through the\nmigration.",{"type":49,"tag":64,"props":65,"children":67},"h2",{"id":66},"step-0-analyze-the-project",[68],{"type":55,"value":69},"Step 0: Analyze the Project",{"type":49,"tag":58,"props":71,"children":72},{},[73],{"type":55,"value":74},"Before making any changes, understand the project structure:",{"type":49,"tag":76,"props":77,"children":78},"ol",{},[79,102,115,173,185,206,219,237],{"type":49,"tag":80,"props":81,"children":82},"li",{},[83,85,92,94,100],{"type":55,"value":84},"Read ",{"type":49,"tag":86,"props":87,"children":89},"code",{"className":88},[],[90],{"type":55,"value":91},"settings.gradle.kts",{"type":55,"value":93}," (or ",{"type":49,"tag":86,"props":95,"children":97},{"className":96},[],[98],{"type":55,"value":99},".gradle",{"type":55,"value":101},") to find all modules",{"type":49,"tag":80,"props":103,"children":104},{},[105,107,113],{"type":55,"value":106},"For each module, read its ",{"type":49,"tag":86,"props":108,"children":110},{"className":109},[],[111],{"type":55,"value":112},"build.gradle.kts",{"type":55,"value":114}," to identify which plugins are applied",{"type":49,"tag":80,"props":116,"children":117},{},[118,120,126,128,133,135,141,143,149,151,157,159,165,167],{"type":55,"value":119},"Check if the project uses a Gradle version catalog (",{"type":49,"tag":86,"props":121,"children":123},{"className":122},[],[124],{"type":55,"value":125},"gradle\u002Flibs.versions.toml",{"type":55,"value":127},"). If it exists,\nread it for current AGP\u002FGradle\u002FKotlin versions. If not, find versions directly in ",{"type":49,"tag":86,"props":129,"children":131},{"className":130},[],[132],{"type":55,"value":112},{"type":55,"value":134},"\nfiles (typically in the root ",{"type":49,"tag":86,"props":136,"children":138},{"className":137},[],[139],{"type":55,"value":140},"buildscript {}",{"type":55,"value":142}," or ",{"type":49,"tag":86,"props":144,"children":146},{"className":145},[],[147],{"type":55,"value":148},"plugins {}",{"type":55,"value":150}," block). ",{"type":49,"tag":152,"props":153,"children":154},"strong",{},[155],{"type":55,"value":156},"Adapt all examples in this\nguide accordingly",{"type":55,"value":158}," — version catalog examples use ",{"type":49,"tag":86,"props":160,"children":162},{"className":161},[],[163],{"type":55,"value":164},"alias(libs.plugins.xxx)",{"type":55,"value":166}," while direct usage\nuses ",{"type":49,"tag":86,"props":168,"children":170},{"className":169},[],[171],{"type":55,"value":172},"id(\"plugin.id\") version \"x.y.z\"",{"type":49,"tag":80,"props":174,"children":175},{},[176,177,183],{"type":55,"value":84},{"type":49,"tag":86,"props":178,"children":180},{"className":179},[],[181],{"type":55,"value":182},"gradle\u002Fwrapper\u002Fgradle-wrapper.properties",{"type":55,"value":184}," for the Gradle version",{"type":49,"tag":80,"props":186,"children":187},{},[188,190,196,198,204],{"type":55,"value":189},"Check ",{"type":49,"tag":86,"props":191,"children":193},{"className":192},[],[194],{"type":55,"value":195},"gradle.properties",{"type":55,"value":197}," for any existing workarounds (",{"type":49,"tag":86,"props":199,"children":201},{"className":200},[],[202],{"type":55,"value":203},"android.enableLegacyVariantApi",{"type":55,"value":205},")",{"type":49,"tag":80,"props":207,"children":208},{},[209,211,217],{"type":55,"value":210},"Check for ",{"type":49,"tag":86,"props":212,"children":214},{"className":213},[],[215],{"type":55,"value":216},"org.jetbrains.kotlin.android",{"type":55,"value":218}," plugin usage — AGP 9.0 has built-in Kotlin and this plugin must be removed",{"type":49,"tag":80,"props":220,"children":221},{},[222,223,229,231],{"type":55,"value":210},{"type":49,"tag":86,"props":224,"children":226},{"className":225},[],[227],{"type":55,"value":228},"org.jetbrains.kotlin.kapt",{"type":55,"value":230}," plugin usage — incompatible with built-in Kotlin, must migrate to KSP or ",{"type":49,"tag":86,"props":232,"children":234},{"className":233},[],[235],{"type":55,"value":236},"com.android.legacy-kapt",{"type":49,"tag":80,"props":238,"children":239},{},[240],{"type":55,"value":241},"Check for third-party plugins that may be incompatible with AGP 9.0 (see \"Plugin Compatibility\" section below)",{"type":49,"tag":58,"props":243,"children":244},{},[245,247,253],{"type":55,"value":246},"If Bash is available, run ",{"type":49,"tag":86,"props":248,"children":250},{"className":249},[],[251],{"type":55,"value":252},"scripts\u002Fanalyze-project.sh",{"type":55,"value":254}," from this skill's directory to get a\nstructured summary.",{"type":49,"tag":256,"props":257,"children":259},"h3",{"id":258},"classify-each-module",[260],{"type":55,"value":261},"Classify Each Module",{"type":49,"tag":58,"props":263,"children":264},{},[265],{"type":55,"value":266},"For each module, determine its type:",{"type":49,"tag":268,"props":269,"children":270},"table",{},[271,290],{"type":49,"tag":272,"props":273,"children":274},"thead",{},[275],{"type":49,"tag":276,"props":277,"children":278},"tr",{},[279,285],{"type":49,"tag":280,"props":281,"children":282},"th",{},[283],{"type":55,"value":284},"Current plugins",{"type":49,"tag":280,"props":286,"children":287},{},[288],{"type":55,"value":289},"Migration path",{"type":49,"tag":291,"props":292,"children":293},"tbody",{},[294,325,353,376],{"type":49,"tag":276,"props":295,"children":296},{},[297,315],{"type":49,"tag":298,"props":299,"children":300},"td",{},[301,307,309],{"type":49,"tag":86,"props":302,"children":304},{"className":303},[],[305],{"type":55,"value":306},"kotlin.multiplatform",{"type":55,"value":308}," + ",{"type":49,"tag":86,"props":310,"children":312},{"className":311},[],[313],{"type":55,"value":314},"com.android.library",{"type":49,"tag":298,"props":316,"children":317},{},[318,323],{"type":49,"tag":152,"props":319,"children":320},{},[321],{"type":55,"value":322},"Path A",{"type":55,"value":324}," — Library plugin swap",{"type":49,"tag":276,"props":326,"children":327},{},[328,343],{"type":49,"tag":298,"props":329,"children":330},{},[331,336,337],{"type":49,"tag":86,"props":332,"children":334},{"className":333},[],[335],{"type":55,"value":306},{"type":55,"value":308},{"type":49,"tag":86,"props":338,"children":340},{"className":339},[],[341],{"type":55,"value":342},"com.android.application",{"type":49,"tag":298,"props":344,"children":345},{},[346,351],{"type":49,"tag":152,"props":347,"children":348},{},[349],{"type":55,"value":350},"Path B",{"type":55,"value":352}," — Mandatory Android split",{"type":49,"tag":276,"props":354,"children":355},{},[356,366],{"type":49,"tag":298,"props":357,"children":358},{},[359,364],{"type":49,"tag":86,"props":360,"children":362},{"className":361},[],[363],{"type":55,"value":306},{"type":55,"value":365}," with multiple platform entry points in one module",{"type":49,"tag":298,"props":367,"children":368},{},[369,374],{"type":49,"tag":152,"props":370,"children":371},{},[372],{"type":55,"value":373},"Path C",{"type":55,"value":375}," — Full restructure (recommended)",{"type":49,"tag":276,"props":377,"children":378},{},[379,395],{"type":49,"tag":298,"props":380,"children":381},{},[382,387,388,393],{"type":49,"tag":86,"props":383,"children":385},{"className":384},[],[386],{"type":55,"value":342},{"type":55,"value":142},{"type":49,"tag":86,"props":389,"children":391},{"className":390},[],[392],{"type":55,"value":314},{"type":55,"value":394}," (no KMP)",{"type":49,"tag":298,"props":396,"children":397},{},[398],{"type":55,"value":399},"See \"Pure Android Tips\" below",{"type":49,"tag":256,"props":401,"children":403},{"id":402},"determine-scope",[404],{"type":55,"value":405},"Determine Scope",{"type":49,"tag":407,"props":408,"children":409},"ul",{},[410,420,438],{"type":49,"tag":80,"props":411,"children":412},{},[413,418],{"type":49,"tag":152,"props":414,"children":415},{},[416],{"type":55,"value":417},"Path B is mandatory",{"type":55,"value":419}," for any module combining KMP + Android application plugin",{"type":49,"tag":80,"props":421,"children":422},{},[423,428,430,436],{"type":49,"tag":152,"props":424,"children":425},{},[426],{"type":55,"value":427},"Path C is recommended",{"type":55,"value":429}," when the project has a monolithic ",{"type":49,"tag":86,"props":431,"children":433},{"className":432},[],[434],{"type":55,"value":435},"composeApp",{"type":55,"value":437}," (or similar) module\ncontaining entry points for multiple platforms (Android, Desktop, Web). This aligns with the\nnew JetBrains default project structure where each platform gets its own app module.",{"type":49,"tag":80,"props":439,"children":440},{},[441,446],{"type":49,"tag":152,"props":442,"children":443},{},[444],{"type":55,"value":445},"Ask the user",{"type":55,"value":447}," whether they want Path B only (minimum required) or Path C (recommended full restructure)",{"type":49,"tag":64,"props":449,"children":451},{"id":450},"path-a-library-module-migration",[452],{"type":55,"value":453},"Path A: Library Module Migration",{"type":49,"tag":58,"props":455,"children":456},{},[457,459,464,465,470],{"type":55,"value":458},"Use this when a module applies ",{"type":49,"tag":86,"props":460,"children":462},{"className":461},[],[463],{"type":55,"value":306},{"type":55,"value":308},{"type":49,"tag":86,"props":466,"children":468},{"className":467},[],[469],{"type":55,"value":314},{"type":55,"value":471},".",{"type":49,"tag":58,"props":473,"children":474},{},[475,477,483],{"type":55,"value":476},"See ",{"type":49,"tag":478,"props":479,"children":481},"a",{"href":480},"references\u002FMIGRATION-LIBRARY.md",[482],{"type":55,"value":480},{"type":55,"value":484}," for full before\u002Fafter code.",{"type":49,"tag":58,"props":486,"children":487},{},[488],{"type":55,"value":489},"Summary:",{"type":49,"tag":76,"props":491,"children":492},{},[493,516,531,632,706,791,844,905,982,1037],{"type":49,"tag":80,"props":494,"children":495},{},[496,501,503,508,510],{"type":49,"tag":152,"props":497,"children":498},{},[499],{"type":55,"value":500},"Replace plugin",{"type":55,"value":502},": ",{"type":49,"tag":86,"props":504,"children":506},{"className":505},[],[507],{"type":55,"value":314},{"type":55,"value":509}," → ",{"type":49,"tag":86,"props":511,"children":513},{"className":512},[],[514],{"type":55,"value":515},"com.android.kotlin.multiplatform.library",{"type":49,"tag":80,"props":517,"children":518},{},[519,529],{"type":49,"tag":152,"props":520,"children":521},{},[522,524],{"type":55,"value":523},"Remove ",{"type":49,"tag":86,"props":525,"children":527},{"className":526},[],[528],{"type":55,"value":216},{"type":55,"value":530}," plugin if present (AGP 9.0 has built-in Kotlin support)",{"type":49,"tag":80,"props":532,"children":533},{},[534,539,541,547,549,555,557],{"type":49,"tag":152,"props":535,"children":536},{},[537],{"type":55,"value":538},"Migrate DSL",{"type":55,"value":540},": Move config from top-level ",{"type":49,"tag":86,"props":542,"children":544},{"className":543},[],[545],{"type":55,"value":546},"android {}",{"type":55,"value":548}," block into ",{"type":49,"tag":86,"props":550,"children":552},{"className":551},[],[553],{"type":55,"value":554},"kotlin { android {} }",{"type":55,"value":556},":\n",{"type":49,"tag":558,"props":559,"children":563},"pre",{"className":560,"code":561,"language":14,"meta":562,"style":562},"language-kotlin shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","kotlin {\n    android {\n        namespace = \"com.example.lib\"\n        compileSdk = 35\n        minSdk = 24\n    }\n}\n","",[564],{"type":49,"tag":86,"props":565,"children":566},{"__ignoreMap":562},[567,578,587,596,605,614,623],{"type":49,"tag":568,"props":569,"children":572},"span",{"class":570,"line":571},"line",1,[573],{"type":49,"tag":568,"props":574,"children":575},{},[576],{"type":55,"value":577},"kotlin {\n",{"type":49,"tag":568,"props":579,"children":581},{"class":570,"line":580},2,[582],{"type":49,"tag":568,"props":583,"children":584},{},[585],{"type":55,"value":586},"    android {\n",{"type":49,"tag":568,"props":588,"children":590},{"class":570,"line":589},3,[591],{"type":49,"tag":568,"props":592,"children":593},{},[594],{"type":55,"value":595},"        namespace = \"com.example.lib\"\n",{"type":49,"tag":568,"props":597,"children":599},{"class":570,"line":598},4,[600],{"type":49,"tag":568,"props":601,"children":602},{},[603],{"type":55,"value":604},"        compileSdk = 35\n",{"type":49,"tag":568,"props":606,"children":608},{"class":570,"line":607},5,[609],{"type":49,"tag":568,"props":610,"children":611},{},[612],{"type":55,"value":613},"        minSdk = 24\n",{"type":49,"tag":568,"props":615,"children":617},{"class":570,"line":616},6,[618],{"type":49,"tag":568,"props":619,"children":620},{},[621],{"type":55,"value":622},"    }\n",{"type":49,"tag":568,"props":624,"children":626},{"class":570,"line":625},7,[627],{"type":49,"tag":568,"props":628,"children":629},{},[630],{"type":55,"value":631},"}\n",{"type":49,"tag":80,"props":633,"children":634},{},[635,640,642],{"type":49,"tag":152,"props":636,"children":637},{},[638],{"type":55,"value":639},"Rename source directories",{"type":55,"value":641}," (only if the module uses classic Android layout instead of KMP layout):\n",{"type":49,"tag":407,"props":643,"children":644},{},[645,661,677,693],{"type":49,"tag":80,"props":646,"children":647},{},[648,654,655],{"type":49,"tag":86,"props":649,"children":651},{"className":650},[],[652],{"type":55,"value":653},"src\u002Fmain",{"type":55,"value":509},{"type":49,"tag":86,"props":656,"children":658},{"className":657},[],[659],{"type":55,"value":660},"src\u002FandroidMain",{"type":49,"tag":80,"props":662,"children":663},{},[664,670,671],{"type":49,"tag":86,"props":665,"children":667},{"className":666},[],[668],{"type":55,"value":669},"src\u002Ftest",{"type":55,"value":509},{"type":49,"tag":86,"props":672,"children":674},{"className":673},[],[675],{"type":55,"value":676},"src\u002FandroidHostTest",{"type":49,"tag":80,"props":678,"children":679},{},[680,686,687],{"type":49,"tag":86,"props":681,"children":683},{"className":682},[],[684],{"type":55,"value":685},"src\u002FandroidTest",{"type":55,"value":509},{"type":49,"tag":86,"props":688,"children":690},{"className":689},[],[691],{"type":55,"value":692},"src\u002FandroidDeviceTest",{"type":49,"tag":80,"props":694,"children":695},{},[696,698,704],{"type":55,"value":697},"If the module already uses ",{"type":49,"tag":86,"props":699,"children":701},{"className":700},[],[702],{"type":55,"value":703},"src\u002FandroidMain\u002F",{"type":55,"value":705},", no directory renames are needed",{"type":49,"tag":80,"props":707,"children":708},{},[709,714,716,722,724,730,731],{"type":49,"tag":152,"props":710,"children":711},{},[712],{"type":55,"value":713},"Move dependencies",{"type":55,"value":715}," from top-level ",{"type":49,"tag":86,"props":717,"children":719},{"className":718},[],[720],{"type":55,"value":721},"dependencies {}",{"type":55,"value":723}," into ",{"type":49,"tag":86,"props":725,"children":727},{"className":726},[],[728],{"type":55,"value":729},"sourceSets",{"type":55,"value":556},{"type":49,"tag":558,"props":732,"children":734},{"className":560,"code":733,"language":14,"meta":562,"style":562},"kotlin {\n    sourceSets {\n        androidMain.dependencies {\n            implementation(\"androidx.appcompat:appcompat:1.7.0\")\n        }\n    }\n}\n",[735],{"type":49,"tag":86,"props":736,"children":737},{"__ignoreMap":562},[738,745,753,761,769,777,784],{"type":49,"tag":568,"props":739,"children":740},{"class":570,"line":571},[741],{"type":49,"tag":568,"props":742,"children":743},{},[744],{"type":55,"value":577},{"type":49,"tag":568,"props":746,"children":747},{"class":570,"line":580},[748],{"type":49,"tag":568,"props":749,"children":750},{},[751],{"type":55,"value":752},"    sourceSets {\n",{"type":49,"tag":568,"props":754,"children":755},{"class":570,"line":589},[756],{"type":49,"tag":568,"props":757,"children":758},{},[759],{"type":55,"value":760},"        androidMain.dependencies {\n",{"type":49,"tag":568,"props":762,"children":763},{"class":570,"line":598},[764],{"type":49,"tag":568,"props":765,"children":766},{},[767],{"type":55,"value":768},"            implementation(\"androidx.appcompat:appcompat:1.7.0\")\n",{"type":49,"tag":568,"props":770,"children":771},{"class":570,"line":607},[772],{"type":49,"tag":568,"props":773,"children":774},{},[775],{"type":55,"value":776},"        }\n",{"type":49,"tag":568,"props":778,"children":779},{"class":570,"line":616},[780],{"type":49,"tag":568,"props":781,"children":782},{},[783],{"type":55,"value":622},{"type":49,"tag":568,"props":785,"children":786},{"class":570,"line":625},[787],{"type":49,"tag":568,"props":788,"children":789},{},[790],{"type":55,"value":631},{"type":49,"tag":80,"props":792,"children":793},{},[794,799,801],{"type":49,"tag":152,"props":795,"children":796},{},[797],{"type":55,"value":798},"Enable resources",{"type":55,"value":800}," explicitly if the module uses Android resources:\n",{"type":49,"tag":558,"props":802,"children":804},{"className":560,"code":803,"language":14,"meta":562,"style":562},"kotlin {\n    android {\n        androidResources { enable = true }\n    }\n}\n",[805],{"type":49,"tag":86,"props":806,"children":807},{"__ignoreMap":562},[808,815,822,830,837],{"type":49,"tag":568,"props":809,"children":810},{"class":570,"line":571},[811],{"type":49,"tag":568,"props":812,"children":813},{},[814],{"type":55,"value":577},{"type":49,"tag":568,"props":816,"children":817},{"class":570,"line":580},[818],{"type":49,"tag":568,"props":819,"children":820},{},[821],{"type":55,"value":586},{"type":49,"tag":568,"props":823,"children":824},{"class":570,"line":589},[825],{"type":49,"tag":568,"props":826,"children":827},{},[828],{"type":55,"value":829},"        androidResources { enable = true }\n",{"type":49,"tag":568,"props":831,"children":832},{"class":570,"line":598},[833],{"type":49,"tag":568,"props":834,"children":835},{},[836],{"type":55,"value":622},{"type":49,"tag":568,"props":838,"children":839},{"class":570,"line":607},[840],{"type":49,"tag":568,"props":841,"children":842},{},[843],{"type":55,"value":631},{"type":49,"tag":80,"props":845,"children":846},{},[847,852,854,860,862],{"type":49,"tag":152,"props":848,"children":849},{},[850],{"type":55,"value":851},"Enable Java",{"type":55,"value":853}," compilation if module has ",{"type":49,"tag":86,"props":855,"children":857},{"className":856},[],[858],{"type":55,"value":859},".java",{"type":55,"value":861}," source files:\n",{"type":49,"tag":558,"props":863,"children":865},{"className":560,"code":864,"language":14,"meta":562,"style":562},"kotlin {\n    android {\n        withJava()\n    }\n}\n",[866],{"type":49,"tag":86,"props":867,"children":868},{"__ignoreMap":562},[869,876,883,891,898],{"type":49,"tag":568,"props":870,"children":871},{"class":570,"line":571},[872],{"type":49,"tag":568,"props":873,"children":874},{},[875],{"type":55,"value":577},{"type":49,"tag":568,"props":877,"children":878},{"class":570,"line":580},[879],{"type":49,"tag":568,"props":880,"children":881},{},[882],{"type":55,"value":586},{"type":49,"tag":568,"props":884,"children":885},{"class":570,"line":589},[886],{"type":49,"tag":568,"props":887,"children":888},{},[889],{"type":55,"value":890},"        withJava()\n",{"type":49,"tag":568,"props":892,"children":893},{"class":570,"line":598},[894],{"type":49,"tag":568,"props":895,"children":896},{},[897],{"type":55,"value":622},{"type":49,"tag":568,"props":899,"children":900},{"class":570,"line":607},[901],{"type":49,"tag":568,"props":902,"children":903},{},[904],{"type":55,"value":631},{"type":49,"tag":80,"props":906,"children":907},{},[908,913,915],{"type":49,"tag":152,"props":909,"children":910},{},[911],{"type":55,"value":912},"Enable tests",{"type":55,"value":914}," explicitly if the module has unit or instrumented tests:\n",{"type":49,"tag":558,"props":916,"children":918},{"className":560,"code":917,"language":14,"meta":562,"style":562},"kotlin {\n    android {\n        withHostTest { isIncludeAndroidResources = true }\n        withDeviceTest {\n            instrumentationRunner = \"androidx.test.runner.AndroidJUnitRunner\"\n        }\n    }\n}\n",[919],{"type":49,"tag":86,"props":920,"children":921},{"__ignoreMap":562},[922,929,936,944,952,960,967,974],{"type":49,"tag":568,"props":923,"children":924},{"class":570,"line":571},[925],{"type":49,"tag":568,"props":926,"children":927},{},[928],{"type":55,"value":577},{"type":49,"tag":568,"props":930,"children":931},{"class":570,"line":580},[932],{"type":49,"tag":568,"props":933,"children":934},{},[935],{"type":55,"value":586},{"type":49,"tag":568,"props":937,"children":938},{"class":570,"line":589},[939],{"type":49,"tag":568,"props":940,"children":941},{},[942],{"type":55,"value":943},"        withHostTest { isIncludeAndroidResources = true }\n",{"type":49,"tag":568,"props":945,"children":946},{"class":570,"line":598},[947],{"type":49,"tag":568,"props":948,"children":949},{},[950],{"type":55,"value":951},"        withDeviceTest {\n",{"type":49,"tag":568,"props":953,"children":954},{"class":570,"line":607},[955],{"type":49,"tag":568,"props":956,"children":957},{},[958],{"type":55,"value":959},"            instrumentationRunner = \"androidx.test.runner.AndroidJUnitRunner\"\n",{"type":49,"tag":568,"props":961,"children":962},{"class":570,"line":616},[963],{"type":49,"tag":568,"props":964,"children":965},{},[966],{"type":55,"value":776},{"type":49,"tag":568,"props":968,"children":969},{"class":570,"line":625},[970],{"type":49,"tag":568,"props":971,"children":972},{},[973],{"type":55,"value":622},{"type":49,"tag":568,"props":975,"children":977},{"class":570,"line":976},8,[978],{"type":49,"tag":568,"props":979,"children":980},{},[981],{"type":55,"value":631},{"type":49,"tag":80,"props":983,"children":984},{},[985,990,991],{"type":49,"tag":152,"props":986,"children":987},{},[988],{"type":55,"value":989},"Update Compose tooling dependency",{"type":55,"value":556},{"type":49,"tag":558,"props":992,"children":994},{"className":560,"code":993,"language":14,"meta":562,"style":562},"\u002F\u002F Old: debugImplementation(libs.androidx.compose.ui.tooling)\n\u002F\u002F New:\ndependencies {\n    androidRuntimeClasspath(libs.androidx.compose.ui.tooling)\n}\n",[995],{"type":49,"tag":86,"props":996,"children":997},{"__ignoreMap":562},[998,1006,1014,1022,1030],{"type":49,"tag":568,"props":999,"children":1000},{"class":570,"line":571},[1001],{"type":49,"tag":568,"props":1002,"children":1003},{},[1004],{"type":55,"value":1005},"\u002F\u002F Old: debugImplementation(libs.androidx.compose.ui.tooling)\n",{"type":49,"tag":568,"props":1007,"children":1008},{"class":570,"line":580},[1009],{"type":49,"tag":568,"props":1010,"children":1011},{},[1012],{"type":55,"value":1013},"\u002F\u002F New:\n",{"type":49,"tag":568,"props":1015,"children":1016},{"class":570,"line":589},[1017],{"type":49,"tag":568,"props":1018,"children":1019},{},[1020],{"type":55,"value":1021},"dependencies {\n",{"type":49,"tag":568,"props":1023,"children":1024},{"class":570,"line":598},[1025],{"type":49,"tag":568,"props":1026,"children":1027},{},[1028],{"type":55,"value":1029},"    androidRuntimeClasspath(libs.androidx.compose.ui.tooling)\n",{"type":49,"tag":568,"props":1031,"children":1032},{"class":570,"line":607},[1033],{"type":49,"tag":568,"props":1034,"children":1035},{},[1036],{"type":55,"value":631},{"type":49,"tag":80,"props":1038,"children":1039},{},[1040,1045,1047],{"type":49,"tag":152,"props":1041,"children":1042},{},[1043],{"type":55,"value":1044},"Publish consumer ProGuard rules",{"type":55,"value":1046}," explicitly if applicable:\n",{"type":49,"tag":558,"props":1048,"children":1050},{"className":560,"code":1049,"language":14,"meta":562,"style":562},"kotlin {\n    android {\n        consumerProguardFiles.add(file(\"consumer-rules.pro\"))\n    }\n}\n",[1051],{"type":49,"tag":86,"props":1052,"children":1053},{"__ignoreMap":562},[1054,1061,1068,1076,1083],{"type":49,"tag":568,"props":1055,"children":1056},{"class":570,"line":571},[1057],{"type":49,"tag":568,"props":1058,"children":1059},{},[1060],{"type":55,"value":577},{"type":49,"tag":568,"props":1062,"children":1063},{"class":570,"line":580},[1064],{"type":49,"tag":568,"props":1065,"children":1066},{},[1067],{"type":55,"value":586},{"type":49,"tag":568,"props":1069,"children":1070},{"class":570,"line":589},[1071],{"type":49,"tag":568,"props":1072,"children":1073},{},[1074],{"type":55,"value":1075},"        consumerProguardFiles.add(file(\"consumer-rules.pro\"))\n",{"type":49,"tag":568,"props":1077,"children":1078},{"class":570,"line":598},[1079],{"type":49,"tag":568,"props":1080,"children":1081},{},[1082],{"type":55,"value":622},{"type":49,"tag":568,"props":1084,"children":1085},{"class":570,"line":607},[1086],{"type":49,"tag":568,"props":1087,"children":1088},{},[1089],{"type":55,"value":631},{"type":49,"tag":64,"props":1091,"children":1093},{"id":1092},"path-b-android-app-shared-module-split",[1094],{"type":55,"value":1095},"Path B: Android App + Shared Module Split",{"type":49,"tag":58,"props":1097,"children":1098},{},[1099,1100,1105,1106,1111,1113,1118],{"type":55,"value":458},{"type":49,"tag":86,"props":1101,"children":1103},{"className":1102},[],[1104],{"type":55,"value":306},{"type":55,"value":308},{"type":49,"tag":86,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":55,"value":342},{"type":55,"value":1112},".\nThis is ",{"type":49,"tag":152,"props":1114,"children":1115},{},[1116],{"type":55,"value":1117},"mandatory",{"type":55,"value":1119}," for AGP 9.0 compatibility.",{"type":49,"tag":58,"props":1121,"children":1122},{},[1123,1124,1129],{"type":55,"value":476},{"type":49,"tag":478,"props":1125,"children":1127},{"href":1126},"references\u002FMIGRATION-APP-SPLIT.md",[1128],{"type":55,"value":1126},{"type":55,"value":1130}," for full guide.",{"type":49,"tag":58,"props":1132,"children":1133},{},[1134],{"type":55,"value":489},{"type":49,"tag":76,"props":1136,"children":1137},{},[1138,1370,1460,1480,1501,1511,1521,1558],{"type":49,"tag":80,"props":1139,"children":1140},{},[1141,1154,1156,1161,1162],{"type":49,"tag":152,"props":1142,"children":1143},{},[1144,1146,1152],{"type":55,"value":1145},"Create ",{"type":49,"tag":86,"props":1147,"children":1149},{"className":1148},[],[1150],{"type":55,"value":1151},"androidApp",{"type":55,"value":1153}," module",{"type":55,"value":1155}," with its own ",{"type":49,"tag":86,"props":1157,"children":1159},{"className":1158},[],[1160],{"type":55,"value":112},{"type":55,"value":556},{"type":49,"tag":558,"props":1163,"children":1165},{"className":560,"code":1164,"language":14,"meta":562,"style":562},"plugins {\n    alias(libs.plugins.androidApplication)\n    \u002F\u002F Do NOT apply kotlin-android — AGP 9.0 includes Kotlin support\n    alias(libs.plugins.composeMultiplatform)  \u002F\u002F if using Compose\n    alias(libs.plugins.composeCompiler)       \u002F\u002F if using Compose\n}\n\nandroid {\n    namespace = \"com.example.app\"\n    compileSdk = 35\n    defaultConfig {\n        applicationId = \"com.example.app\"\n        minSdk = 24\n        targetSdk = 35\n        versionCode = 1\n        versionName = \"1.0\"\n    }\n    buildFeatures { compose = true }\n}\n\ndependencies {\n    implementation(projects.shared)  \u002F\u002F or whatever the shared module is named\n    implementation(libs.androidx.activity.compose)\n}\n",[1166],{"type":49,"tag":86,"props":1167,"children":1168},{"__ignoreMap":562},[1169,1177,1185,1193,1201,1209,1216,1225,1233,1242,1251,1260,1269,1277,1286,1295,1304,1311,1320,1328,1336,1344,1353,1362],{"type":49,"tag":568,"props":1170,"children":1171},{"class":570,"line":571},[1172],{"type":49,"tag":568,"props":1173,"children":1174},{},[1175],{"type":55,"value":1176},"plugins {\n",{"type":49,"tag":568,"props":1178,"children":1179},{"class":570,"line":580},[1180],{"type":49,"tag":568,"props":1181,"children":1182},{},[1183],{"type":55,"value":1184},"    alias(libs.plugins.androidApplication)\n",{"type":49,"tag":568,"props":1186,"children":1187},{"class":570,"line":589},[1188],{"type":49,"tag":568,"props":1189,"children":1190},{},[1191],{"type":55,"value":1192},"    \u002F\u002F Do NOT apply kotlin-android — AGP 9.0 includes Kotlin support\n",{"type":49,"tag":568,"props":1194,"children":1195},{"class":570,"line":598},[1196],{"type":49,"tag":568,"props":1197,"children":1198},{},[1199],{"type":55,"value":1200},"    alias(libs.plugins.composeMultiplatform)  \u002F\u002F if using Compose\n",{"type":49,"tag":568,"props":1202,"children":1203},{"class":570,"line":607},[1204],{"type":49,"tag":568,"props":1205,"children":1206},{},[1207],{"type":55,"value":1208},"    alias(libs.plugins.composeCompiler)       \u002F\u002F if using Compose\n",{"type":49,"tag":568,"props":1210,"children":1211},{"class":570,"line":616},[1212],{"type":49,"tag":568,"props":1213,"children":1214},{},[1215],{"type":55,"value":631},{"type":49,"tag":568,"props":1217,"children":1218},{"class":570,"line":625},[1219],{"type":49,"tag":568,"props":1220,"children":1222},{"emptyLinePlaceholder":1221},true,[1223],{"type":55,"value":1224},"\n",{"type":49,"tag":568,"props":1226,"children":1227},{"class":570,"line":976},[1228],{"type":49,"tag":568,"props":1229,"children":1230},{},[1231],{"type":55,"value":1232},"android {\n",{"type":49,"tag":568,"props":1234,"children":1236},{"class":570,"line":1235},9,[1237],{"type":49,"tag":568,"props":1238,"children":1239},{},[1240],{"type":55,"value":1241},"    namespace = \"com.example.app\"\n",{"type":49,"tag":568,"props":1243,"children":1245},{"class":570,"line":1244},10,[1246],{"type":49,"tag":568,"props":1247,"children":1248},{},[1249],{"type":55,"value":1250},"    compileSdk = 35\n",{"type":49,"tag":568,"props":1252,"children":1254},{"class":570,"line":1253},11,[1255],{"type":49,"tag":568,"props":1256,"children":1257},{},[1258],{"type":55,"value":1259},"    defaultConfig {\n",{"type":49,"tag":568,"props":1261,"children":1263},{"class":570,"line":1262},12,[1264],{"type":49,"tag":568,"props":1265,"children":1266},{},[1267],{"type":55,"value":1268},"        applicationId = \"com.example.app\"\n",{"type":49,"tag":568,"props":1270,"children":1272},{"class":570,"line":1271},13,[1273],{"type":49,"tag":568,"props":1274,"children":1275},{},[1276],{"type":55,"value":613},{"type":49,"tag":568,"props":1278,"children":1280},{"class":570,"line":1279},14,[1281],{"type":49,"tag":568,"props":1282,"children":1283},{},[1284],{"type":55,"value":1285},"        targetSdk = 35\n",{"type":49,"tag":568,"props":1287,"children":1289},{"class":570,"line":1288},15,[1290],{"type":49,"tag":568,"props":1291,"children":1292},{},[1293],{"type":55,"value":1294},"        versionCode = 1\n",{"type":49,"tag":568,"props":1296,"children":1298},{"class":570,"line":1297},16,[1299],{"type":49,"tag":568,"props":1300,"children":1301},{},[1302],{"type":55,"value":1303},"        versionName = \"1.0\"\n",{"type":49,"tag":568,"props":1305,"children":1306},{"class":570,"line":32},[1307],{"type":49,"tag":568,"props":1308,"children":1309},{},[1310],{"type":55,"value":622},{"type":49,"tag":568,"props":1312,"children":1314},{"class":570,"line":1313},18,[1315],{"type":49,"tag":568,"props":1316,"children":1317},{},[1318],{"type":55,"value":1319},"    buildFeatures { compose = true }\n",{"type":49,"tag":568,"props":1321,"children":1323},{"class":570,"line":1322},19,[1324],{"type":49,"tag":568,"props":1325,"children":1326},{},[1327],{"type":55,"value":631},{"type":49,"tag":568,"props":1329,"children":1331},{"class":570,"line":1330},20,[1332],{"type":49,"tag":568,"props":1333,"children":1334},{"emptyLinePlaceholder":1221},[1335],{"type":55,"value":1224},{"type":49,"tag":568,"props":1337,"children":1339},{"class":570,"line":1338},21,[1340],{"type":49,"tag":568,"props":1341,"children":1342},{},[1343],{"type":55,"value":1021},{"type":49,"tag":568,"props":1345,"children":1347},{"class":570,"line":1346},22,[1348],{"type":49,"tag":568,"props":1349,"children":1350},{},[1351],{"type":55,"value":1352},"    implementation(projects.shared)  \u002F\u002F or whatever the shared module is named\n",{"type":49,"tag":568,"props":1354,"children":1356},{"class":570,"line":1355},23,[1357],{"type":49,"tag":568,"props":1358,"children":1359},{},[1360],{"type":55,"value":1361},"    implementation(libs.androidx.activity.compose)\n",{"type":49,"tag":568,"props":1363,"children":1365},{"class":570,"line":1364},24,[1366],{"type":49,"tag":568,"props":1367,"children":1368},{},[1369],{"type":55,"value":631},{"type":49,"tag":80,"props":1371,"children":1372},{},[1373,1378,1380,1385,1387,1393,1394],{"type":49,"tag":152,"props":1374,"children":1375},{},[1376],{"type":55,"value":1377},"Move Android entry point code",{"type":55,"value":1379}," from ",{"type":49,"tag":86,"props":1381,"children":1383},{"className":1382},[],[1384],{"type":55,"value":703},{"type":55,"value":1386}," to ",{"type":49,"tag":86,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":55,"value":1392},"androidApp\u002Fsrc\u002Fmain\u002F",{"type":55,"value":556},{"type":49,"tag":407,"props":1395,"children":1396},{},[1397,1408,1450,1455],{"type":49,"tag":80,"props":1398,"children":1399},{},[1400,1406],{"type":49,"tag":86,"props":1401,"children":1403},{"className":1402},[],[1404],{"type":55,"value":1405},"MainActivity.kt",{"type":55,"value":1407}," (and any other Activities\u002FFragments)",{"type":49,"tag":80,"props":1409,"children":1410},{},[1411,1417,1419,1425,1427,1433,1435,1441,1443,1448],{"type":49,"tag":86,"props":1412,"children":1414},{"className":1413},[],[1415],{"type":55,"value":1416},"AndroidManifest.xml",{"type":55,"value":1418}," (app-level manifest with ",{"type":49,"tag":86,"props":1420,"children":1422},{"className":1421},[],[1423],{"type":55,"value":1424},"\u003Capplication>",{"type":55,"value":1426}," and launcher ",{"type":49,"tag":86,"props":1428,"children":1430},{"className":1429},[],[1431],{"type":55,"value":1432},"\u003Cactivity>",{"type":55,"value":1434},") — verify ",{"type":49,"tag":86,"props":1436,"children":1438},{"className":1437},[],[1439],{"type":55,"value":1440},"android:name",{"type":55,"value":1442}," on ",{"type":49,"tag":86,"props":1444,"children":1446},{"className":1445},[],[1447],{"type":55,"value":1432},{"type":55,"value":1449}," uses the fully qualified class name in its new location",{"type":49,"tag":80,"props":1451,"children":1452},{},[1453],{"type":55,"value":1454},"Android Application class if present",{"type":49,"tag":80,"props":1456,"children":1457},{},[1458],{"type":55,"value":1459},"App-level resources (launcher icons, theme, etc.)",{"type":49,"tag":80,"props":1461,"children":1462},{},[1463,1473,1474],{"type":49,"tag":152,"props":1464,"children":1465},{},[1466,1468],{"type":55,"value":1467},"Add to ",{"type":49,"tag":86,"props":1469,"children":1471},{"className":1470},[],[1472],{"type":55,"value":91},{"type":55,"value":502},{"type":49,"tag":86,"props":1475,"children":1477},{"className":1476},[],[1478],{"type":55,"value":1479},"include(\":androidApp\")",{"type":49,"tag":80,"props":1481,"children":1482},{},[1483,1493,1495],{"type":49,"tag":152,"props":1484,"children":1485},{},[1486,1488],{"type":55,"value":1487},"Add to root ",{"type":49,"tag":86,"props":1489,"children":1491},{"className":1490},[],[1492],{"type":55,"value":112},{"type":55,"value":1494},": plugin declarations with ",{"type":49,"tag":86,"props":1496,"children":1498},{"className":1497},[],[1499],{"type":55,"value":1500},"apply false",{"type":49,"tag":80,"props":1502,"children":1503},{},[1504,1509],{"type":49,"tag":152,"props":1505,"children":1506},{},[1507],{"type":55,"value":1508},"Convert original module",{"type":55,"value":1510}," from application to library using Path A steps",{"type":49,"tag":80,"props":1512,"children":1513},{},[1514,1519],{"type":49,"tag":152,"props":1515,"children":1516},{},[1517],{"type":55,"value":1518},"Ensure different namespaces",{"type":55,"value":1520},": app module and library module must have distinct namespaces",{"type":49,"tag":80,"props":1522,"children":1523},{},[1524,1529,1530,1536,1538,1544,1545,1551,1552],{"type":49,"tag":152,"props":1525,"children":1526},{},[1527],{"type":55,"value":1528},"Remove from shared module",{"type":55,"value":502},{"type":49,"tag":86,"props":1531,"children":1533},{"className":1532},[],[1534],{"type":55,"value":1535},"applicationId",{"type":55,"value":1537},", ",{"type":49,"tag":86,"props":1539,"children":1541},{"className":1540},[],[1542],{"type":55,"value":1543},"targetSdk",{"type":55,"value":1537},{"type":49,"tag":86,"props":1546,"children":1548},{"className":1547},[],[1549],{"type":55,"value":1550},"versionCode",{"type":55,"value":1537},{"type":49,"tag":86,"props":1553,"children":1555},{"className":1554},[],[1556],{"type":55,"value":1557},"versionName",{"type":49,"tag":80,"props":1559,"children":1560},{},[1561,1566,1568],{"type":49,"tag":152,"props":1562,"children":1563},{},[1564],{"type":55,"value":1565},"Update IDE run configurations",{"type":55,"value":1567},": change the module from the old module to ",{"type":49,"tag":86,"props":1569,"children":1571},{"className":1570},[],[1572],{"type":55,"value":1151},{"type":49,"tag":64,"props":1574,"children":1576},{"id":1575},"path-c-full-restructure-recommended",[1577],{"type":55,"value":1578},"Path C: Full Restructure (Recommended)",{"type":49,"tag":58,"props":1580,"children":1581},{},[1582,1584,1589],{"type":55,"value":1583},"Use this when the project has a monolithic module (typically ",{"type":49,"tag":86,"props":1585,"children":1587},{"className":1586},[],[1588],{"type":55,"value":435},{"type":55,"value":1590},") containing entry\npoints for multiple platforms. This is optional but aligns with the new JetBrains default.",{"type":49,"tag":58,"props":1592,"children":1593},{},[1594,1595,1600],{"type":55,"value":476},{"type":49,"tag":478,"props":1596,"children":1598},{"href":1597},"references\u002FMIGRATION-FULL-RESTRUCTURE.md",[1599],{"type":55,"value":1597},{"type":55,"value":1130},{"type":49,"tag":256,"props":1602,"children":1604},{"id":1603},"target-structure",[1605],{"type":55,"value":1606},"Target Structure",{"type":49,"tag":558,"props":1608,"children":1612},{"className":1609,"code":1611,"language":55},[1610],"language-text","project\u002F\n├── shared\u002F              ← KMP library (was composeApp), pure shared code\n├── androidApp\u002F          ← Android entry point only\n├── desktopApp\u002F          ← Desktop entry point only (if desktop target exists)\n├── webApp\u002F              ← Wasm\u002FJS entry point only (if web target exists)\n├── iosApp\u002F              ← iOS Xcode project (usually already separate)\n└── ...\n",[1613],{"type":49,"tag":86,"props":1614,"children":1615},{"__ignoreMap":562},[1616],{"type":55,"value":1611},{"type":49,"tag":256,"props":1618,"children":1620},{"id":1619},"steps",[1621],{"type":55,"value":1622},"Steps",{"type":49,"tag":76,"props":1624,"children":1625},{},[1626,1643,1739,1809,1854,1900],{"type":49,"tag":80,"props":1627,"children":1628},{},[1629,1634,1636,1641],{"type":49,"tag":152,"props":1630,"children":1631},{},[1632],{"type":55,"value":1633},"Apply Path B first",{"type":55,"value":1635}," — extract ",{"type":49,"tag":86,"props":1637,"children":1639},{"className":1638},[],[1640],{"type":55,"value":1151},{"type":55,"value":1642}," (mandatory for AGP 9.0)",{"type":49,"tag":80,"props":1644,"children":1645},{},[1646,1657,1659],{"type":49,"tag":152,"props":1647,"children":1648},{},[1649,1651],{"type":55,"value":1650},"Extract ",{"type":49,"tag":86,"props":1652,"children":1654},{"className":1653},[],[1655],{"type":55,"value":1656},"desktopApp",{"type":55,"value":1658}," (if desktop target exists):\n",{"type":49,"tag":407,"props":1660,"children":1661},{},[1662,1683,1709,1727],{"type":49,"tag":80,"props":1663,"children":1664},{},[1665,1667,1673,1675,1681],{"type":55,"value":1666},"Create module with ",{"type":49,"tag":86,"props":1668,"children":1670},{"className":1669},[],[1671],{"type":55,"value":1672},"org.jetbrains.compose",{"type":55,"value":1674}," and ",{"type":49,"tag":86,"props":1676,"children":1678},{"className":1677},[],[1679],{"type":55,"value":1680},"application {}",{"type":55,"value":1682}," plugin",{"type":49,"tag":80,"props":1684,"children":1685},{},[1686,1688,1694,1696,1702,1703],{"type":55,"value":1687},"Move ",{"type":49,"tag":86,"props":1689,"children":1691},{"className":1690},[],[1692],{"type":55,"value":1693},"main()",{"type":55,"value":1695}," function from ",{"type":49,"tag":86,"props":1697,"children":1699},{"className":1698},[],[1700],{"type":55,"value":1701},"desktopMain",{"type":55,"value":1386},{"type":49,"tag":86,"props":1704,"children":1706},{"className":1705},[],[1707],{"type":55,"value":1708},"desktopApp\u002Fsrc\u002Fmain\u002Fkotlin\u002F",{"type":49,"tag":80,"props":1710,"children":1711},{},[1712,1713,1719,1721],{"type":55,"value":1687},{"type":49,"tag":86,"props":1714,"children":1716},{"className":1715},[],[1717],{"type":55,"value":1718},"compose.desktop { application { ... } }",{"type":55,"value":1720}," config to ",{"type":49,"tag":86,"props":1722,"children":1724},{"className":1723},[],[1725],{"type":55,"value":1726},"desktopApp\u002Fbuild.gradle.kts",{"type":49,"tag":80,"props":1728,"children":1729},{},[1730,1732,1738],{"type":55,"value":1731},"Add dependency on ",{"type":49,"tag":86,"props":1733,"children":1735},{"className":1734},[],[1736],{"type":55,"value":1737},"shared",{"type":55,"value":1153},{"type":49,"tag":80,"props":1740,"children":1741},{},[1742,1752,1754],{"type":49,"tag":152,"props":1743,"children":1744},{},[1745,1746],{"type":55,"value":1650},{"type":49,"tag":86,"props":1747,"children":1749},{"className":1748},[],[1750],{"type":55,"value":1751},"webApp",{"type":55,"value":1753}," (if wasmJs\u002Fjs target exists):\n",{"type":49,"tag":407,"props":1755,"children":1756},{},[1757,1762,1788,1799],{"type":49,"tag":80,"props":1758,"children":1759},{},[1760],{"type":55,"value":1761},"Create module with appropriate Kotlin\u002FJS or Kotlin\u002FWasm configuration",{"type":49,"tag":80,"props":1763,"children":1764},{},[1765,1767,1773,1775,1781,1782],{"type":55,"value":1766},"Move web entry point from ",{"type":49,"tag":86,"props":1768,"children":1770},{"className":1769},[],[1771],{"type":55,"value":1772},"wasmJsMain",{"type":55,"value":1774},"\u002F",{"type":49,"tag":86,"props":1776,"children":1778},{"className":1777},[],[1779],{"type":55,"value":1780},"jsMain",{"type":55,"value":1386},{"type":49,"tag":86,"props":1783,"children":1785},{"className":1784},[],[1786],{"type":55,"value":1787},"webApp\u002Fsrc\u002FwasmJsMain\u002Fkotlin\u002F",{"type":49,"tag":80,"props":1789,"children":1790},{},[1791,1793],{"type":55,"value":1792},"Move browser\u002Fdistribution config to ",{"type":49,"tag":86,"props":1794,"children":1796},{"className":1795},[],[1797],{"type":55,"value":1798},"webApp\u002Fbuild.gradle.kts",{"type":49,"tag":80,"props":1800,"children":1801},{},[1802,1803,1808],{"type":55,"value":1731},{"type":49,"tag":86,"props":1804,"children":1806},{"className":1805},[],[1807],{"type":55,"value":1737},{"type":55,"value":1153},{"type":49,"tag":80,"props":1810,"children":1811},{},[1812,1817,1819,1825,1827],{"type":49,"tag":152,"props":1813,"children":1814},{},[1815],{"type":55,"value":1816},"iOS",{"type":55,"value":1818}," — typically already in a separate ",{"type":49,"tag":86,"props":1820,"children":1822},{"className":1821},[],[1823],{"type":55,"value":1824},"iosApp",{"type":55,"value":1826}," directory. Verify:\n",{"type":49,"tag":407,"props":1828,"children":1829},{},[1830,1849],{"type":49,"tag":80,"props":1831,"children":1832},{},[1833,1835,1841,1843,1848],{"type":55,"value":1834},"Framework export config (",{"type":49,"tag":86,"props":1836,"children":1838},{"className":1837},[],[1839],{"type":55,"value":1840},"binaries.framework",{"type":55,"value":1842},") stays in ",{"type":49,"tag":86,"props":1844,"children":1846},{"className":1845},[],[1847],{"type":55,"value":1737},{"type":55,"value":1153},{"type":49,"tag":80,"props":1850,"children":1851},{},[1852],{"type":55,"value":1853},"Xcode project references the correct framework path",{"type":49,"tag":80,"props":1855,"children":1856},{},[1857,1862,1863,1868,1869,1874,1875],{"type":49,"tag":152,"props":1858,"children":1859},{},[1860],{"type":55,"value":1861},"Rename module",{"type":55,"value":1379},{"type":49,"tag":86,"props":1864,"children":1866},{"className":1865},[],[1867],{"type":55,"value":435},{"type":55,"value":1386},{"type":49,"tag":86,"props":1870,"children":1872},{"className":1871},[],[1873],{"type":55,"value":1737},{"type":55,"value":556},{"type":49,"tag":407,"props":1876,"children":1877},{},[1878,1883,1895],{"type":49,"tag":80,"props":1879,"children":1880},{},[1881],{"type":55,"value":1882},"Rename directory",{"type":49,"tag":80,"props":1884,"children":1885},{},[1886,1888,1893],{"type":55,"value":1887},"Update ",{"type":49,"tag":86,"props":1889,"children":1891},{"className":1890},[],[1892],{"type":55,"value":91},{"type":55,"value":1894}," include",{"type":49,"tag":80,"props":1896,"children":1897},{},[1898],{"type":55,"value":1899},"Update all dependency references across modules",{"type":49,"tag":80,"props":1901,"children":1902},{},[1903,1908],{"type":49,"tag":152,"props":1904,"children":1905},{},[1906],{"type":55,"value":1907},"Clean up shared module",{"type":55,"value":1909},": remove all platform entry point code and app-specific config\nthat was moved to the platform app modules",{"type":49,"tag":256,"props":1911,"children":1913},{"id":1912},"variant-native-ui",[1914],{"type":55,"value":1915},"Variant: Native UI",{"type":49,"tag":58,"props":1917,"children":1918},{},[1919,1921,1926],{"type":55,"value":1920},"If some platforms use native UI (e.g., SwiftUI for iOS), split ",{"type":49,"tag":86,"props":1922,"children":1924},{"className":1923},[],[1925],{"type":55,"value":1737},{"type":55,"value":1927}," into:",{"type":49,"tag":407,"props":1929,"children":1930},{},[1931,1942],{"type":49,"tag":80,"props":1932,"children":1933},{},[1934,1940],{"type":49,"tag":86,"props":1935,"children":1937},{"className":1936},[],[1938],{"type":55,"value":1939},"sharedLogic",{"type":55,"value":1941}," — business logic consumed by ALL platforms",{"type":49,"tag":80,"props":1943,"children":1944},{},[1945,1951],{"type":49,"tag":86,"props":1946,"children":1948},{"className":1947},[],[1949],{"type":55,"value":1950},"sharedUI",{"type":55,"value":1952}," — Compose Multiplatform UI consumed only by platforms using shared UI",{"type":49,"tag":256,"props":1954,"children":1956},{"id":1955},"variant-server",[1957],{"type":55,"value":1958},"Variant: Server",{"type":49,"tag":58,"props":1960,"children":1961},{},[1962],{"type":55,"value":1963},"If the project includes a server target:",{"type":49,"tag":407,"props":1965,"children":1966},{},[1967,1980,1993],{"type":49,"tag":80,"props":1968,"children":1969},{},[1970,1972,1978],{"type":55,"value":1971},"Add ",{"type":49,"tag":86,"props":1973,"children":1975},{"className":1974},[],[1976],{"type":55,"value":1977},"server",{"type":55,"value":1979}," module at the root",{"type":49,"tag":80,"props":1981,"children":1982},{},[1983,1985,1991],{"type":55,"value":1984},"Move all client modules under an ",{"type":49,"tag":86,"props":1986,"children":1988},{"className":1987},[],[1989],{"type":55,"value":1990},"app\u002F",{"type":55,"value":1992}," directory",{"type":49,"tag":80,"props":1994,"children":1995},{},[1996,1997,2003],{"type":55,"value":1971},{"type":49,"tag":86,"props":1998,"children":2000},{"className":1999},[],[2001],{"type":55,"value":2002},"core",{"type":55,"value":2004}," module for code shared between server and client (models, validation)",{"type":49,"tag":64,"props":2006,"children":2008},{"id":2007},"version-updates",[2009],{"type":55,"value":2010},"Version Updates",{"type":49,"tag":58,"props":2012,"children":2013},{},[2014],{"type":55,"value":2015},"These are required regardless of migration path:",{"type":49,"tag":76,"props":2017,"children":2018},{},[2019,2054,2152,2260,2277,2287,2306,2383],{"type":49,"tag":80,"props":2020,"children":2021},{},[2022,2027,2029],{"type":49,"tag":152,"props":2023,"children":2024},{},[2025],{"type":55,"value":2026},"Gradle wrapper",{"type":55,"value":2028}," — update to 9.1.0+:",{"type":49,"tag":558,"props":2030,"children":2034},{"className":2031,"code":2032,"language":2033,"meta":562,"style":562},"language-properties shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# gradle\u002Fwrapper\u002Fgradle-wrapper.properties\ndistributionUrl=https\\:\u002F\u002Fservices.gradle.org\u002Fdistributions\u002Fgradle-9.1.0-bin.zip\n","properties",[2035],{"type":49,"tag":86,"props":2036,"children":2037},{"__ignoreMap":562},[2038,2046],{"type":49,"tag":568,"props":2039,"children":2040},{"class":570,"line":571},[2041],{"type":49,"tag":568,"props":2042,"children":2043},{},[2044],{"type":55,"value":2045},"# gradle\u002Fwrapper\u002Fgradle-wrapper.properties\n",{"type":49,"tag":568,"props":2047,"children":2048},{"class":570,"line":580},[2049],{"type":49,"tag":568,"props":2050,"children":2051},{},[2052],{"type":55,"value":2053},"distributionUrl=https\\:\u002F\u002Fservices.gradle.org\u002Fdistributions\u002Fgradle-9.1.0-bin.zip\n",{"type":49,"tag":80,"props":2055,"children":2056},{},[2057,2062,2064,2068,2070,2075,2077,2102,2105,2107,2113,2115],{"type":49,"tag":152,"props":2058,"children":2059},{},[2060],{"type":55,"value":2061},"AGP version",{"type":55,"value":2063}," — update to 9.0.0+.",{"type":49,"tag":2065,"props":2066,"children":2067},"br",{},[],{"type":55,"value":2069},"If using a version catalog (",{"type":49,"tag":86,"props":2071,"children":2073},{"className":2072},[],[2074],{"type":55,"value":125},{"type":55,"value":2076},"):",{"type":49,"tag":558,"props":2078,"children":2082},{"className":2079,"code":2080,"language":2081,"meta":562,"style":562},"language-toml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","[versions]\nagp = \"9.0.0\"\n","toml",[2083],{"type":49,"tag":86,"props":2084,"children":2085},{"__ignoreMap":562},[2086,2094],{"type":49,"tag":568,"props":2087,"children":2088},{"class":570,"line":571},[2089],{"type":49,"tag":568,"props":2090,"children":2091},{},[2092],{"type":55,"value":2093},"[versions]\n",{"type":49,"tag":568,"props":2095,"children":2096},{"class":570,"line":580},[2097],{"type":49,"tag":568,"props":2098,"children":2099},{},[2100],{"type":55,"value":2101},"agp = \"9.0.0\"\n",{"type":49,"tag":2065,"props":2103,"children":2104},{},[],{"type":55,"value":2106},"If versions are set directly in build files, update all ",{"type":49,"tag":86,"props":2108,"children":2110},{"className":2109},[],[2111],{"type":55,"value":2112},"com.android.*",{"type":55,"value":2114}," plugin version strings:",{"type":49,"tag":558,"props":2116,"children":2118},{"className":560,"code":2117,"language":14,"meta":562,"style":562},"\u002F\u002F root build.gradle.kts\nplugins {\n    id(\"com.android.application\") version \"9.0.0\" apply false\n}\n",[2119],{"type":49,"tag":86,"props":2120,"children":2121},{"__ignoreMap":562},[2122,2130,2137,2145],{"type":49,"tag":568,"props":2123,"children":2124},{"class":570,"line":571},[2125],{"type":49,"tag":568,"props":2126,"children":2127},{},[2128],{"type":55,"value":2129},"\u002F\u002F root build.gradle.kts\n",{"type":49,"tag":568,"props":2131,"children":2132},{"class":570,"line":580},[2133],{"type":49,"tag":568,"props":2134,"children":2135},{},[2136],{"type":55,"value":1176},{"type":49,"tag":568,"props":2138,"children":2139},{"class":570,"line":589},[2140],{"type":49,"tag":568,"props":2141,"children":2142},{},[2143],{"type":55,"value":2144},"    id(\"com.android.application\") version \"9.0.0\" apply false\n",{"type":49,"tag":568,"props":2146,"children":2147},{"class":570,"line":598},[2148],{"type":49,"tag":568,"props":2149,"children":2150},{},[2151],{"type":55,"value":631},{"type":49,"tag":80,"props":2153,"children":2154},{},[2155,2160,2161,2164,2166,2189,2192,2194],{"type":49,"tag":152,"props":2156,"children":2157},{},[2158],{"type":55,"value":2159},"Add the KMP library plugin",{"type":55,"value":471},{"type":49,"tag":2065,"props":2162,"children":2163},{},[],{"type":55,"value":2165},"With version catalog:",{"type":49,"tag":558,"props":2167,"children":2169},{"className":2079,"code":2168,"language":2081,"meta":562,"style":562},"[plugins]\nandroid-kotlin-multiplatform-library = { id = \"com.android.kotlin.multiplatform.library\", version.ref = \"agp\" }\n",[2170],{"type":49,"tag":86,"props":2171,"children":2172},{"__ignoreMap":562},[2173,2181],{"type":49,"tag":568,"props":2174,"children":2175},{"class":570,"line":571},[2176],{"type":49,"tag":568,"props":2177,"children":2178},{},[2179],{"type":55,"value":2180},"[plugins]\n",{"type":49,"tag":568,"props":2182,"children":2183},{"class":570,"line":580},[2184],{"type":49,"tag":568,"props":2185,"children":2186},{},[2187],{"type":55,"value":2188},"android-kotlin-multiplatform-library = { id = \"com.android.kotlin.multiplatform.library\", version.ref = \"agp\" }\n",{"type":49,"tag":2065,"props":2190,"children":2191},{},[],{"type":55,"value":2193},"Without version catalog — use the plugin ID directly in build files:",{"type":49,"tag":558,"props":2195,"children":2197},{"className":560,"code":2196,"language":14,"meta":562,"style":562},"\u002F\u002F root build.gradle.kts\nplugins {\n    id(\"com.android.kotlin.multiplatform.library\") version \"9.0.0\" apply false\n}\n\u002F\u002F module build.gradle.kts\nplugins {\n    id(\"com.android.kotlin.multiplatform.library\")\n}\n",[2198],{"type":49,"tag":86,"props":2199,"children":2200},{"__ignoreMap":562},[2201,2208,2215,2223,2230,2238,2245,2253],{"type":49,"tag":568,"props":2202,"children":2203},{"class":570,"line":571},[2204],{"type":49,"tag":568,"props":2205,"children":2206},{},[2207],{"type":55,"value":2129},{"type":49,"tag":568,"props":2209,"children":2210},{"class":570,"line":580},[2211],{"type":49,"tag":568,"props":2212,"children":2213},{},[2214],{"type":55,"value":1176},{"type":49,"tag":568,"props":2216,"children":2217},{"class":570,"line":589},[2218],{"type":49,"tag":568,"props":2219,"children":2220},{},[2221],{"type":55,"value":2222},"    id(\"com.android.kotlin.multiplatform.library\") version \"9.0.0\" apply false\n",{"type":49,"tag":568,"props":2224,"children":2225},{"class":570,"line":598},[2226],{"type":49,"tag":568,"props":2227,"children":2228},{},[2229],{"type":55,"value":631},{"type":49,"tag":568,"props":2231,"children":2232},{"class":570,"line":607},[2233],{"type":49,"tag":568,"props":2234,"children":2235},{},[2236],{"type":55,"value":2237},"\u002F\u002F module build.gradle.kts\n",{"type":49,"tag":568,"props":2239,"children":2240},{"class":570,"line":616},[2241],{"type":49,"tag":568,"props":2242,"children":2243},{},[2244],{"type":55,"value":1176},{"type":49,"tag":568,"props":2246,"children":2247},{"class":570,"line":625},[2248],{"type":49,"tag":568,"props":2249,"children":2250},{},[2251],{"type":55,"value":2252},"    id(\"com.android.kotlin.multiplatform.library\")\n",{"type":49,"tag":568,"props":2254,"children":2255},{"class":570,"line":976},[2256],{"type":49,"tag":568,"props":2257,"children":2258},{},[2259],{"type":55,"value":631},{"type":49,"tag":80,"props":2261,"children":2262},{},[2263,2268,2270,2275],{"type":49,"tag":152,"props":2264,"children":2265},{},[2266],{"type":55,"value":2267},"Root build.gradle.kts",{"type":55,"value":2269}," — add ",{"type":49,"tag":86,"props":2271,"children":2273},{"className":2272},[],[2274],{"type":55,"value":1500},{"type":55,"value":2276}," for new plugin (see examples above)",{"type":49,"tag":80,"props":2278,"children":2279},{},[2280,2285],{"type":49,"tag":152,"props":2281,"children":2282},{},[2283],{"type":55,"value":2284},"JDK",{"type":55,"value":2286}," — ensure JDK 17+ is used (required by AGP 9.0)",{"type":49,"tag":80,"props":2288,"children":2289},{},[2290,2295,2297],{"type":49,"tag":152,"props":2291,"children":2292},{},[2293],{"type":55,"value":2294},"SDK Build Tools",{"type":55,"value":2296}," — update to 36.0.0:",{"type":49,"tag":558,"props":2298,"children":2301},{"className":2299,"code":2300,"language":55},[1610],"Install via SDK Manager or configure in android { buildToolsVersion = \"36.0.0\" }\n",[2302],{"type":49,"tag":86,"props":2303,"children":2304},{"__ignoreMap":562},[2305],{"type":55,"value":2300},{"type":49,"tag":80,"props":2307,"children":2308},{},[2309,2314,2315,2320,2322],{"type":49,"tag":152,"props":2310,"children":2311},{},[2312],{"type":55,"value":2313},"Remove legacy workarounds",{"type":55,"value":1379},{"type":49,"tag":86,"props":2316,"children":2318},{"className":2317},[],[2319],{"type":55,"value":195},{"type":55,"value":2321},":",{"type":49,"tag":407,"props":2323,"children":2324},{},[2325,2337,2348,2359,2371],{"type":49,"tag":80,"props":2326,"children":2327},{},[2328,2329,2335],{"type":55,"value":523},{"type":49,"tag":86,"props":2330,"children":2332},{"className":2331},[],[2333],{"type":55,"value":2334},"android.enableLegacyVariantApi=true",{"type":55,"value":2336}," (removed in AGP 9.0, causes error if present)",{"type":49,"tag":80,"props":2338,"children":2339},{},[2340,2341,2347],{"type":55,"value":523},{"type":49,"tag":86,"props":2342,"children":2344},{"className":2343},[],[2345],{"type":55,"value":2346},"android.r8.integratedResourceShrinking",{"type":55,"value":2336},{"type":49,"tag":80,"props":2349,"children":2350},{},[2351,2352,2358],{"type":55,"value":523},{"type":49,"tag":86,"props":2353,"children":2355},{"className":2354},[],[2356],{"type":55,"value":2357},"android.enableNewResourceShrinker.preciseShrinking",{"type":55,"value":2336},{"type":49,"tag":80,"props":2360,"children":2361},{},[2362,2363,2369],{"type":55,"value":523},{"type":49,"tag":86,"props":2364,"children":2366},{"className":2365},[],[2367],{"type":55,"value":2368},"android.builtInKotlin=false",{"type":55,"value":2370}," (unless needed for plugin compatibility — see Plugin Compatibility)",{"type":49,"tag":80,"props":2372,"children":2373},{},[2374,2375,2381],{"type":55,"value":523},{"type":49,"tag":86,"props":2376,"children":2378},{"className":2377},[],[2379],{"type":55,"value":2380},"android.newDsl=false",{"type":55,"value":2382}," (unless needed for plugin compatibility)",{"type":49,"tag":80,"props":2384,"children":2385},{},[2386,2391],{"type":49,"tag":152,"props":2387,"children":2388},{},[2389],{"type":55,"value":2390},"Review gradle.properties defaults",{"type":55,"value":2392}," — see \"Gradle Properties Default Changes\" section for properties\nwhose defaults changed in AGP 9.0",{"type":49,"tag":64,"props":2394,"children":2396},{"id":2395},"built-in-kotlin-migration",[2397],{"type":55,"value":2398},"Built-in Kotlin Migration",{"type":49,"tag":58,"props":2400,"children":2401},{},[2402,2404,2409,2410,2415,2417,2422],{"type":55,"value":2403},"AGP 9.0 enables built-in Kotlin support by default for all ",{"type":49,"tag":86,"props":2405,"children":2407},{"className":2406},[],[2408],{"type":55,"value":342},{"type":55,"value":1674},{"type":49,"tag":86,"props":2411,"children":2413},{"className":2412},[],[2414],{"type":55,"value":314},{"type":55,"value":2416},"\nmodules. The ",{"type":49,"tag":86,"props":2418,"children":2420},{"className":2419},[],[2421],{"type":55,"value":216},{"type":55,"value":2423}," plugin is no longer needed and will conflict if applied.",{"type":49,"tag":58,"props":2425,"children":2426},{},[2427,2432,2434,2440,2441,2446],{"type":49,"tag":152,"props":2428,"children":2429},{},[2430],{"type":55,"value":2431},"Important:",{"type":55,"value":2433}," Built-in Kotlin does NOT replace KMP support. KMP library modules still need\n",{"type":49,"tag":86,"props":2435,"children":2437},{"className":2436},[],[2438],{"type":55,"value":2439},"org.jetbrains.kotlin.multiplatform",{"type":55,"value":308},{"type":49,"tag":86,"props":2442,"children":2444},{"className":2443},[],[2445],{"type":55,"value":515},{"type":55,"value":471},{"type":49,"tag":256,"props":2448,"children":2450},{"id":2449},"detection",[2451],{"type":55,"value":2452},"Detection",{"type":49,"tag":58,"props":2454,"children":2455},{},[2456,2458,2463,2464,2470,2472,2477,2479,2484],{"type":55,"value":2457},"Check if the project uses ",{"type":49,"tag":86,"props":2459,"children":2461},{"className":2460},[],[2462],{"type":55,"value":216},{"type":55,"value":142},{"type":49,"tag":86,"props":2465,"children":2467},{"className":2466},[],[2468],{"type":55,"value":2469},"kotlin-android",{"type":55,"value":2471}," in any build files.\nIf found, this migration is needed. If not, check ",{"type":49,"tag":86,"props":2473,"children":2475},{"className":2474},[],[2476],{"type":55,"value":195},{"type":55,"value":2478}," for ",{"type":49,"tag":86,"props":2480,"children":2482},{"className":2481},[],[2483],{"type":55,"value":2368},{"type":55,"value":2485},"\nwhich may indicate a previous opt-out.",{"type":49,"tag":256,"props":2487,"children":2489},{"id":2488},"step-1-remove-kotlin-android-plugin",[2490],{"type":55,"value":2491},"Step 1: Remove kotlin-android Plugin",{"type":49,"tag":58,"props":2493,"children":2494},{},[2495,2497,2502],{"type":55,"value":2496},"Remove from ",{"type":49,"tag":152,"props":2498,"children":2499},{},[2500],{"type":55,"value":2501},"all",{"type":55,"value":2503}," module-level and root-level build files:",{"type":49,"tag":558,"props":2505,"children":2507},{"className":560,"code":2506,"language":14,"meta":562,"style":562},"\u002F\u002F Remove from module build.gradle.kts\nplugins {\n    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.android)\n    \u002F\u002F REMOVE: id(\"org.jetbrains.kotlin.android\")\n}\n\n\u002F\u002F Remove from root build.gradle.kts\nplugins {\n    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.android) apply false\n}\n",[2508],{"type":49,"tag":86,"props":2509,"children":2510},{"__ignoreMap":562},[2511,2519,2526,2534,2542,2549,2556,2564,2571,2579],{"type":49,"tag":568,"props":2512,"children":2513},{"class":570,"line":571},[2514],{"type":49,"tag":568,"props":2515,"children":2516},{},[2517],{"type":55,"value":2518},"\u002F\u002F Remove from module build.gradle.kts\n",{"type":49,"tag":568,"props":2520,"children":2521},{"class":570,"line":580},[2522],{"type":49,"tag":568,"props":2523,"children":2524},{},[2525],{"type":55,"value":1176},{"type":49,"tag":568,"props":2527,"children":2528},{"class":570,"line":589},[2529],{"type":49,"tag":568,"props":2530,"children":2531},{},[2532],{"type":55,"value":2533},"    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.android)\n",{"type":49,"tag":568,"props":2535,"children":2536},{"class":570,"line":598},[2537],{"type":49,"tag":568,"props":2538,"children":2539},{},[2540],{"type":55,"value":2541},"    \u002F\u002F REMOVE: id(\"org.jetbrains.kotlin.android\")\n",{"type":49,"tag":568,"props":2543,"children":2544},{"class":570,"line":607},[2545],{"type":49,"tag":568,"props":2546,"children":2547},{},[2548],{"type":55,"value":631},{"type":49,"tag":568,"props":2550,"children":2551},{"class":570,"line":616},[2552],{"type":49,"tag":568,"props":2553,"children":2554},{"emptyLinePlaceholder":1221},[2555],{"type":55,"value":1224},{"type":49,"tag":568,"props":2557,"children":2558},{"class":570,"line":625},[2559],{"type":49,"tag":568,"props":2560,"children":2561},{},[2562],{"type":55,"value":2563},"\u002F\u002F Remove from root build.gradle.kts\n",{"type":49,"tag":568,"props":2565,"children":2566},{"class":570,"line":976},[2567],{"type":49,"tag":568,"props":2568,"children":2569},{},[2570],{"type":55,"value":1176},{"type":49,"tag":568,"props":2572,"children":2573},{"class":570,"line":1235},[2574],{"type":49,"tag":568,"props":2575,"children":2576},{},[2577],{"type":55,"value":2578},"    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.android) apply false\n",{"type":49,"tag":568,"props":2580,"children":2581},{"class":570,"line":1244},[2582],{"type":49,"tag":568,"props":2583,"children":2584},{},[2585],{"type":55,"value":631},{"type":49,"tag":58,"props":2587,"children":2588},{},[2589,2591,2596],{"type":55,"value":2590},"Remove from version catalog (",{"type":49,"tag":86,"props":2592,"children":2594},{"className":2593},[],[2595],{"type":55,"value":125},{"type":55,"value":2076},{"type":49,"tag":558,"props":2598,"children":2600},{"className":2079,"code":2599,"language":2081,"meta":562,"style":562},"[plugins]\n# REMOVE: kotlin-android = { id = \"org.jetbrains.kotlin.android\", version.ref = \"kotlin\" }\n",[2601],{"type":49,"tag":86,"props":2602,"children":2603},{"__ignoreMap":562},[2604,2611],{"type":49,"tag":568,"props":2605,"children":2606},{"class":570,"line":571},[2607],{"type":49,"tag":568,"props":2608,"children":2609},{},[2610],{"type":55,"value":2180},{"type":49,"tag":568,"props":2612,"children":2613},{"class":570,"line":580},[2614],{"type":49,"tag":568,"props":2615,"children":2616},{},[2617],{"type":55,"value":2618},"# REMOVE: kotlin-android = { id = \"org.jetbrains.kotlin.android\", version.ref = \"kotlin\" }\n",{"type":49,"tag":256,"props":2620,"children":2622},{"id":2621},"step-2-migrate-kapt-to-ksp-or-legacy-kapt",[2623],{"type":55,"value":2624},"Step 2: Migrate kapt to KSP or legacy-kapt",{"type":49,"tag":58,"props":2626,"children":2627},{},[2628,2630,2635,2637,2642],{"type":55,"value":2629},"The ",{"type":49,"tag":86,"props":2631,"children":2633},{"className":2632},[],[2634],{"type":55,"value":228},{"type":55,"value":2636}," plugin is ",{"type":49,"tag":152,"props":2638,"children":2639},{},[2640],{"type":55,"value":2641},"incompatible",{"type":55,"value":2643}," with built-in Kotlin.",{"type":49,"tag":58,"props":2645,"children":2646},{},[2647,2652],{"type":49,"tag":152,"props":2648,"children":2649},{},[2650],{"type":55,"value":2651},"Preferred: Migrate to KSP",{"type":55,"value":2653}," — see the KSP migration guide for each annotation processor.",{"type":49,"tag":58,"props":2655,"children":2656},{},[2657,2667],{"type":49,"tag":152,"props":2658,"children":2659},{},[2660,2662],{"type":55,"value":2661},"Fallback: Use ",{"type":49,"tag":86,"props":2663,"children":2665},{"className":2664},[],[2666],{"type":55,"value":236},{"type":55,"value":2668}," (same version as AGP):",{"type":49,"tag":558,"props":2670,"children":2672},{"className":2079,"code":2671,"language":2081,"meta":562,"style":562},"# gradle\u002Flibs.versions.toml\n[plugins]\nlegacy-kapt = { id = \"com.android.legacy-kapt\", version.ref = \"agp\" }\n",[2673],{"type":49,"tag":86,"props":2674,"children":2675},{"__ignoreMap":562},[2676,2684,2691],{"type":49,"tag":568,"props":2677,"children":2678},{"class":570,"line":571},[2679],{"type":49,"tag":568,"props":2680,"children":2681},{},[2682],{"type":55,"value":2683},"# gradle\u002Flibs.versions.toml\n",{"type":49,"tag":568,"props":2685,"children":2686},{"class":570,"line":580},[2687],{"type":49,"tag":568,"props":2688,"children":2689},{},[2690],{"type":55,"value":2180},{"type":49,"tag":568,"props":2692,"children":2693},{"class":570,"line":589},[2694],{"type":49,"tag":568,"props":2695,"children":2696},{},[2697],{"type":55,"value":2698},"legacy-kapt = { id = \"com.android.legacy-kapt\", version.ref = \"agp\" }\n",{"type":49,"tag":558,"props":2700,"children":2702},{"className":560,"code":2701,"language":14,"meta":562,"style":562},"\u002F\u002F Module build.gradle.kts — replace kotlin-kapt with legacy-kapt\nplugins {\n    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.kapt)\n    alias(libs.plugins.legacy.kapt)\n}\n",[2703],{"type":49,"tag":86,"props":2704,"children":2705},{"__ignoreMap":562},[2706,2714,2721,2729,2737],{"type":49,"tag":568,"props":2707,"children":2708},{"class":570,"line":571},[2709],{"type":49,"tag":568,"props":2710,"children":2711},{},[2712],{"type":55,"value":2713},"\u002F\u002F Module build.gradle.kts — replace kotlin-kapt with legacy-kapt\n",{"type":49,"tag":568,"props":2715,"children":2716},{"class":570,"line":580},[2717],{"type":49,"tag":568,"props":2718,"children":2719},{},[2720],{"type":55,"value":1176},{"type":49,"tag":568,"props":2722,"children":2723},{"class":570,"line":589},[2724],{"type":49,"tag":568,"props":2725,"children":2726},{},[2727],{"type":55,"value":2728},"    \u002F\u002F REMOVE: alias(libs.plugins.kotlin.kapt)\n",{"type":49,"tag":568,"props":2730,"children":2731},{"class":570,"line":598},[2732],{"type":49,"tag":568,"props":2733,"children":2734},{},[2735],{"type":55,"value":2736},"    alias(libs.plugins.legacy.kapt)\n",{"type":49,"tag":568,"props":2738,"children":2739},{"class":570,"line":607},[2740],{"type":49,"tag":568,"props":2741,"children":2742},{},[2743],{"type":55,"value":631},{"type":49,"tag":256,"props":2745,"children":2747},{"id":2746},"step-3-migrate-kotlinoptions-to-compileroptions",[2748],{"type":55,"value":2749},"Step 3: Migrate kotlinOptions to compilerOptions",{"type":49,"tag":58,"props":2751,"children":2752},{},[2753,2755,2761,2763,2769],{"type":55,"value":2754},"For pure Android modules (non-KMP), migrate ",{"type":49,"tag":86,"props":2756,"children":2758},{"className":2757},[],[2759],{"type":55,"value":2760},"android.kotlinOptions {}",{"type":55,"value":2762}," to the top-level\n",{"type":49,"tag":86,"props":2764,"children":2766},{"className":2765},[],[2767],{"type":55,"value":2768},"kotlin.compilerOptions {}",{"type":55,"value":2321},{"type":49,"tag":558,"props":2771,"children":2773},{"className":560,"code":2772,"language":14,"meta":562,"style":562},"\u002F\u002F Old\nandroid {\n    kotlinOptions {\n        jvmTarget = \"11\"\n        languageVersion = \"2.0\"\n        freeCompilerArgs += listOf(\"-Xopt-in=kotlin.RequiresOptIn\")\n    }\n}\n\n\u002F\u002F New\nkotlin {\n    compilerOptions {\n        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)\n        languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0)\n        optIn.add(\"kotlin.RequiresOptIn\")\n    }\n}\n",[2774],{"type":49,"tag":86,"props":2775,"children":2776},{"__ignoreMap":562},[2777,2785,2792,2800,2808,2816,2824,2831,2838,2845,2853,2860,2868,2876,2884,2892,2899],{"type":49,"tag":568,"props":2778,"children":2779},{"class":570,"line":571},[2780],{"type":49,"tag":568,"props":2781,"children":2782},{},[2783],{"type":55,"value":2784},"\u002F\u002F Old\n",{"type":49,"tag":568,"props":2786,"children":2787},{"class":570,"line":580},[2788],{"type":49,"tag":568,"props":2789,"children":2790},{},[2791],{"type":55,"value":1232},{"type":49,"tag":568,"props":2793,"children":2794},{"class":570,"line":589},[2795],{"type":49,"tag":568,"props":2796,"children":2797},{},[2798],{"type":55,"value":2799},"    kotlinOptions {\n",{"type":49,"tag":568,"props":2801,"children":2802},{"class":570,"line":598},[2803],{"type":49,"tag":568,"props":2804,"children":2805},{},[2806],{"type":55,"value":2807},"        jvmTarget = \"11\"\n",{"type":49,"tag":568,"props":2809,"children":2810},{"class":570,"line":607},[2811],{"type":49,"tag":568,"props":2812,"children":2813},{},[2814],{"type":55,"value":2815},"        languageVersion = \"2.0\"\n",{"type":49,"tag":568,"props":2817,"children":2818},{"class":570,"line":616},[2819],{"type":49,"tag":568,"props":2820,"children":2821},{},[2822],{"type":55,"value":2823},"        freeCompilerArgs += listOf(\"-Xopt-in=kotlin.RequiresOptIn\")\n",{"type":49,"tag":568,"props":2825,"children":2826},{"class":570,"line":625},[2827],{"type":49,"tag":568,"props":2828,"children":2829},{},[2830],{"type":55,"value":622},{"type":49,"tag":568,"props":2832,"children":2833},{"class":570,"line":976},[2834],{"type":49,"tag":568,"props":2835,"children":2836},{},[2837],{"type":55,"value":631},{"type":49,"tag":568,"props":2839,"children":2840},{"class":570,"line":1235},[2841],{"type":49,"tag":568,"props":2842,"children":2843},{"emptyLinePlaceholder":1221},[2844],{"type":55,"value":1224},{"type":49,"tag":568,"props":2846,"children":2847},{"class":570,"line":1244},[2848],{"type":49,"tag":568,"props":2849,"children":2850},{},[2851],{"type":55,"value":2852},"\u002F\u002F New\n",{"type":49,"tag":568,"props":2854,"children":2855},{"class":570,"line":1253},[2856],{"type":49,"tag":568,"props":2857,"children":2858},{},[2859],{"type":55,"value":577},{"type":49,"tag":568,"props":2861,"children":2862},{"class":570,"line":1262},[2863],{"type":49,"tag":568,"props":2864,"children":2865},{},[2866],{"type":55,"value":2867},"    compilerOptions {\n",{"type":49,"tag":568,"props":2869,"children":2870},{"class":570,"line":1271},[2871],{"type":49,"tag":568,"props":2872,"children":2873},{},[2874],{"type":55,"value":2875},"        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)\n",{"type":49,"tag":568,"props":2877,"children":2878},{"class":570,"line":1279},[2879],{"type":49,"tag":568,"props":2880,"children":2881},{},[2882],{"type":55,"value":2883},"        languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0)\n",{"type":49,"tag":568,"props":2885,"children":2886},{"class":570,"line":1288},[2887],{"type":49,"tag":568,"props":2888,"children":2889},{},[2890],{"type":55,"value":2891},"        optIn.add(\"kotlin.RequiresOptIn\")\n",{"type":49,"tag":568,"props":2893,"children":2894},{"class":570,"line":1297},[2895],{"type":49,"tag":568,"props":2896,"children":2897},{},[2898],{"type":55,"value":622},{"type":49,"tag":568,"props":2900,"children":2901},{"class":570,"line":32},[2902],{"type":49,"tag":568,"props":2903,"children":2904},{},[2905],{"type":55,"value":631},{"type":49,"tag":58,"props":2907,"children":2908},{},[2909,2914,2916,2922,2924,2930,2932,2938],{"type":49,"tag":152,"props":2910,"children":2911},{},[2912],{"type":55,"value":2913},"Note:",{"type":55,"value":2915}," With built-in Kotlin, ",{"type":49,"tag":86,"props":2917,"children":2919},{"className":2918},[],[2920],{"type":55,"value":2921},"jvmTarget",{"type":55,"value":2923}," defaults to ",{"type":49,"tag":86,"props":2925,"children":2927},{"className":2926},[],[2928],{"type":55,"value":2929},"android.compileOptions.targetCompatibility",{"type":55,"value":2931},",\nso it may be optional if you already set ",{"type":49,"tag":86,"props":2933,"children":2935},{"className":2934},[],[2936],{"type":55,"value":2937},"compileOptions",{"type":55,"value":471},{"type":49,"tag":256,"props":2940,"children":2942},{"id":2941},"step-4-migrate-kotlinsourcesets-to-androidsourcesets",[2943],{"type":55,"value":2944},"Step 4: Migrate kotlin.sourceSets to android.sourceSets",{"type":49,"tag":58,"props":2946,"children":2947},{},[2948,2950,2956,2958,2963],{"type":55,"value":2949},"With built-in Kotlin, only ",{"type":49,"tag":86,"props":2951,"children":2953},{"className":2952},[],[2954],{"type":55,"value":2955},"android.sourceSets {}",{"type":55,"value":2957}," with the ",{"type":49,"tag":86,"props":2959,"children":2961},{"className":2960},[],[2962],{"type":55,"value":14},{"type":55,"value":2964}," set is supported:",{"type":49,"tag":558,"props":2966,"children":2968},{"className":560,"code":2967,"language":14,"meta":562,"style":562},"\u002F\u002F NOT SUPPORTED with built-in Kotlin:\nkotlin.sourceSets.named(\"main\") {\n    kotlin.srcDir(\"additionalSourceDirectory\u002Fkotlin\")\n}\n\n\u002F\u002F Correct:\nandroid.sourceSets.named(\"main\") {\n    kotlin.directories += \"additionalSourceDirectory\u002Fkotlin\"\n}\n",[2969],{"type":49,"tag":86,"props":2970,"children":2971},{"__ignoreMap":562},[2972,2980,2988,2996,3003,3010,3018,3026,3034],{"type":49,"tag":568,"props":2973,"children":2974},{"class":570,"line":571},[2975],{"type":49,"tag":568,"props":2976,"children":2977},{},[2978],{"type":55,"value":2979},"\u002F\u002F NOT SUPPORTED with built-in Kotlin:\n",{"type":49,"tag":568,"props":2981,"children":2982},{"class":570,"line":580},[2983],{"type":49,"tag":568,"props":2984,"children":2985},{},[2986],{"type":55,"value":2987},"kotlin.sourceSets.named(\"main\") {\n",{"type":49,"tag":568,"props":2989,"children":2990},{"class":570,"line":589},[2991],{"type":49,"tag":568,"props":2992,"children":2993},{},[2994],{"type":55,"value":2995},"    kotlin.srcDir(\"additionalSourceDirectory\u002Fkotlin\")\n",{"type":49,"tag":568,"props":2997,"children":2998},{"class":570,"line":598},[2999],{"type":49,"tag":568,"props":3000,"children":3001},{},[3002],{"type":55,"value":631},{"type":49,"tag":568,"props":3004,"children":3005},{"class":570,"line":607},[3006],{"type":49,"tag":568,"props":3007,"children":3008},{"emptyLinePlaceholder":1221},[3009],{"type":55,"value":1224},{"type":49,"tag":568,"props":3011,"children":3012},{"class":570,"line":616},[3013],{"type":49,"tag":568,"props":3014,"children":3015},{},[3016],{"type":55,"value":3017},"\u002F\u002F Correct:\n",{"type":49,"tag":568,"props":3019,"children":3020},{"class":570,"line":625},[3021],{"type":49,"tag":568,"props":3022,"children":3023},{},[3024],{"type":55,"value":3025},"android.sourceSets.named(\"main\") {\n",{"type":49,"tag":568,"props":3027,"children":3028},{"class":570,"line":976},[3029],{"type":49,"tag":568,"props":3030,"children":3031},{},[3032],{"type":55,"value":3033},"    kotlin.directories += \"additionalSourceDirectory\u002Fkotlin\"\n",{"type":49,"tag":568,"props":3035,"children":3036},{"class":570,"line":1235},[3037],{"type":49,"tag":568,"props":3038,"children":3039},{},[3040],{"type":55,"value":631},{"type":49,"tag":58,"props":3042,"children":3043},{},[3044],{"type":55,"value":3045},"For generated sources, use the Variant API:",{"type":49,"tag":558,"props":3047,"children":3049},{"className":560,"code":3048,"language":14,"meta":562,"style":562},"androidComponents.onVariants { variant ->\n    variant.sources.kotlin!!.addStaticSourceDirectory(\"additionalSourceDirectory\u002Fkotlin\")\n}\n",[3050],{"type":49,"tag":86,"props":3051,"children":3052},{"__ignoreMap":562},[3053,3061,3069],{"type":49,"tag":568,"props":3054,"children":3055},{"class":570,"line":571},[3056],{"type":49,"tag":568,"props":3057,"children":3058},{},[3059],{"type":55,"value":3060},"androidComponents.onVariants { variant ->\n",{"type":49,"tag":568,"props":3062,"children":3063},{"class":570,"line":580},[3064],{"type":49,"tag":568,"props":3065,"children":3066},{},[3067],{"type":55,"value":3068},"    variant.sources.kotlin!!.addStaticSourceDirectory(\"additionalSourceDirectory\u002Fkotlin\")\n",{"type":49,"tag":568,"props":3070,"children":3071},{"class":570,"line":589},[3072],{"type":49,"tag":568,"props":3073,"children":3074},{},[3075],{"type":55,"value":631},{"type":49,"tag":256,"props":3077,"children":3079},{"id":3078},"per-module-migration-strategy",[3080],{"type":55,"value":3081},"Per-Module Migration Strategy",{"type":49,"tag":58,"props":3083,"children":3084},{},[3085],{"type":55,"value":3086},"For large projects, migrate module-by-module:",{"type":49,"tag":76,"props":3088,"children":3089},{},[3090,3107,3141,3146],{"type":49,"tag":80,"props":3091,"children":3092},{},[3093,3095,3100,3102],{"type":55,"value":3094},"Disable globally: ",{"type":49,"tag":86,"props":3096,"children":3098},{"className":3097},[],[3099],{"type":55,"value":2368},{"type":55,"value":3101}," in ",{"type":49,"tag":86,"props":3103,"children":3105},{"className":3104},[],[3106],{"type":55,"value":195},{"type":49,"tag":80,"props":3108,"children":3109},{},[3110,3112],{"type":55,"value":3111},"Enable per migrated module by applying the opt-in plugin:\n",{"type":49,"tag":558,"props":3113,"children":3115},{"className":560,"code":3114,"language":14,"meta":562,"style":562},"plugins {\n    id(\"com.android.built-in-kotlin\") version \"AGP_VERSION\"\n}\n",[3116],{"type":49,"tag":86,"props":3117,"children":3118},{"__ignoreMap":562},[3119,3126,3134],{"type":49,"tag":568,"props":3120,"children":3121},{"class":570,"line":571},[3122],{"type":49,"tag":568,"props":3123,"children":3124},{},[3125],{"type":55,"value":1176},{"type":49,"tag":568,"props":3127,"children":3128},{"class":570,"line":580},[3129],{"type":49,"tag":568,"props":3130,"children":3131},{},[3132],{"type":55,"value":3133},"    id(\"com.android.built-in-kotlin\") version \"AGP_VERSION\"\n",{"type":49,"tag":568,"props":3135,"children":3136},{"class":570,"line":589},[3137],{"type":49,"tag":568,"props":3138,"children":3139},{},[3140],{"type":55,"value":631},{"type":49,"tag":80,"props":3142,"children":3143},{},[3144],{"type":55,"value":3145},"Follow Steps 1-4 for that module",{"type":49,"tag":80,"props":3147,"children":3148},{},[3149,3151,3156,3158,3164],{"type":55,"value":3150},"Once all modules are migrated, remove ",{"type":49,"tag":86,"props":3152,"children":3154},{"className":3153},[],[3155],{"type":55,"value":2368},{"type":55,"value":3157}," and all ",{"type":49,"tag":86,"props":3159,"children":3161},{"className":3160},[],[3162],{"type":55,"value":3163},"com.android.built-in-kotlin",{"type":55,"value":3165}," plugins",{"type":49,"tag":256,"props":3167,"children":3169},{"id":3168},"optional-disable-kotlin-for-non-kotlin-modules",[3170],{"type":55,"value":3171},"Optional: Disable Kotlin for Non-Kotlin Modules",{"type":49,"tag":58,"props":3173,"children":3174},{},[3175,3177,3182],{"type":55,"value":3176},"For modules that contain ",{"type":49,"tag":152,"props":3178,"children":3179},{},[3180],{"type":55,"value":3181},"no Kotlin sources",{"type":55,"value":3183},", disable built-in Kotlin to save build time:",{"type":49,"tag":558,"props":3185,"children":3187},{"className":560,"code":3186,"language":14,"meta":562,"style":562},"android {\n    enableKotlin = false\n}\n",[3188],{"type":49,"tag":86,"props":3189,"children":3190},{"__ignoreMap":562},[3191,3198,3206],{"type":49,"tag":568,"props":3192,"children":3193},{"class":570,"line":571},[3194],{"type":49,"tag":568,"props":3195,"children":3196},{},[3197],{"type":55,"value":1232},{"type":49,"tag":568,"props":3199,"children":3200},{"class":570,"line":580},[3201],{"type":49,"tag":568,"props":3202,"children":3203},{},[3204],{"type":55,"value":3205},"    enableKotlin = false\n",{"type":49,"tag":568,"props":3207,"children":3208},{"class":570,"line":589},[3209],{"type":49,"tag":568,"props":3210,"children":3211},{},[3212],{"type":55,"value":631},{"type":49,"tag":256,"props":3214,"children":3216},{"id":3215},"opt-out-temporary",[3217],{"type":55,"value":3218},"Opt-Out (Temporary)",{"type":49,"tag":58,"props":3220,"children":3221},{},[3222],{"type":55,"value":3223},"If blocked by plugin incompatibilities, opt out temporarily:",{"type":49,"tag":558,"props":3225,"children":3227},{"className":2031,"code":3226,"language":2033,"meta":562,"style":562},"# gradle.properties\nandroid.builtInKotlin=false\nandroid.newDsl=false  # also required if using new DSL opt-out\n",[3228],{"type":49,"tag":86,"props":3229,"children":3230},{"__ignoreMap":562},[3231,3239,3247],{"type":49,"tag":568,"props":3232,"children":3233},{"class":570,"line":571},[3234],{"type":49,"tag":568,"props":3235,"children":3236},{},[3237],{"type":55,"value":3238},"# gradle.properties\n",{"type":49,"tag":568,"props":3240,"children":3241},{"class":570,"line":580},[3242],{"type":49,"tag":568,"props":3243,"children":3244},{},[3245],{"type":55,"value":3246},"android.builtInKotlin=false\n",{"type":49,"tag":568,"props":3248,"children":3249},{"class":570,"line":589},[3250],{"type":49,"tag":568,"props":3251,"children":3252},{},[3253],{"type":55,"value":3254},"android.newDsl=false  # also required if using new DSL opt-out\n",{"type":49,"tag":58,"props":3256,"children":3257},{},[3258,3263],{"type":49,"tag":152,"props":3259,"children":3260},{},[3261],{"type":55,"value":3262},"Warning:",{"type":55,"value":3264}," Ask the user if they want to opt out, and if so,\nremind them this is a temporary measure.",{"type":49,"tag":64,"props":3266,"children":3268},{"id":3267},"plugin-compatibility",[3269],{"type":55,"value":3270},"Plugin Compatibility",{"type":49,"tag":58,"props":3272,"children":3273},{},[3274,3275,3280],{"type":55,"value":476},{"type":49,"tag":478,"props":3276,"children":3278},{"href":3277},"references\u002FPLUGIN-COMPATIBILITY.md",[3279],{"type":55,"value":3277},{"type":55,"value":3281}," for the full compatibility\ntable with known compatible versions, opt-out flag workarounds, and broken plugins.",{"type":49,"tag":58,"props":3283,"children":3284},{},[3285,3290,3292,3297],{"type":49,"tag":152,"props":3286,"children":3287},{},[3288],{"type":55,"value":3289},"Before migrating",{"type":55,"value":3291},", inventory all plugins in the project and check each against that table. If any\nplugin is broken without workaround, inform the user. If plugins need opt-out flags, add them to\n",{"type":49,"tag":86,"props":3293,"children":3295},{"className":3294},[],[3296],{"type":55,"value":195},{"type":55,"value":3298}," and note them as temporary workarounds.",{"type":49,"tag":64,"props":3300,"children":3302},{"id":3301},"gradle-properties-default-changes",[3303],{"type":55,"value":3304},"Gradle Properties Default Changes",{"type":49,"tag":58,"props":3306,"children":3307},{},[3308,3310,3315],{"type":55,"value":3309},"AGP 9.0 changes the defaults for many gradle properties. Check ",{"type":49,"tag":86,"props":3311,"children":3313},{"className":3312},[],[3314],{"type":55,"value":195},{"type":55,"value":3316}," for any explicitly\nset values that may now conflict. Key changes:",{"type":49,"tag":268,"props":3318,"children":3319},{},[3320,3346],{"type":49,"tag":272,"props":3321,"children":3322},{},[3323],{"type":49,"tag":276,"props":3324,"children":3325},{},[3326,3331,3336,3341],{"type":49,"tag":280,"props":3327,"children":3328},{},[3329],{"type":55,"value":3330},"Property",{"type":49,"tag":280,"props":3332,"children":3333},{},[3334],{"type":55,"value":3335},"Old Default",{"type":49,"tag":280,"props":3337,"children":3338},{},[3339],{"type":55,"value":3340},"New Default",{"type":49,"tag":280,"props":3342,"children":3343},{},[3344],{"type":55,"value":3345},"Action",{"type":49,"tag":291,"props":3347,"children":3348},{},[3349,3384,3431,3472,3505,3538,3571,3604,3645,3678,3718,3758],{"type":49,"tag":276,"props":3350,"children":3351},{},[3352,3361,3370,3379],{"type":49,"tag":298,"props":3353,"children":3354},{},[3355],{"type":49,"tag":86,"props":3356,"children":3358},{"className":3357},[],[3359],{"type":55,"value":3360},"android.uniquePackageNames",{"type":49,"tag":298,"props":3362,"children":3363},{},[3364],{"type":49,"tag":86,"props":3365,"children":3367},{"className":3366},[],[3368],{"type":55,"value":3369},"false",{"type":49,"tag":298,"props":3371,"children":3372},{},[3373],{"type":49,"tag":86,"props":3374,"children":3376},{"className":3375},[],[3377],{"type":55,"value":3378},"true",{"type":49,"tag":298,"props":3380,"children":3381},{},[3382],{"type":55,"value":3383},"Ensure each library has a unique namespace",{"type":49,"tag":276,"props":3385,"children":3386},{},[3387,3396,3404,3412],{"type":49,"tag":298,"props":3388,"children":3389},{},[3390],{"type":49,"tag":86,"props":3391,"children":3393},{"className":3392},[],[3394],{"type":55,"value":3395},"android.enableAppCompileTimeRClass",{"type":49,"tag":298,"props":3397,"children":3398},{},[3399],{"type":49,"tag":86,"props":3400,"children":3402},{"className":3401},[],[3403],{"type":55,"value":3369},{"type":49,"tag":298,"props":3405,"children":3406},{},[3407],{"type":49,"tag":86,"props":3408,"children":3410},{"className":3409},[],[3411],{"type":55,"value":3378},{"type":49,"tag":298,"props":3413,"children":3414},{},[3415,3417,3423,3425],{"type":55,"value":3416},"Refactor ",{"type":49,"tag":86,"props":3418,"children":3420},{"className":3419},[],[3421],{"type":55,"value":3422},"switch",{"type":55,"value":3424}," on R fields to ",{"type":49,"tag":86,"props":3426,"children":3428},{"className":3427},[],[3429],{"type":55,"value":3430},"if\u002Felse",{"type":49,"tag":276,"props":3432,"children":3433},{},[3434,3443,3451,3459],{"type":49,"tag":298,"props":3435,"children":3436},{},[3437],{"type":49,"tag":86,"props":3438,"children":3440},{"className":3439},[],[3441],{"type":55,"value":3442},"android.defaults.buildfeatures.resvalues",{"type":49,"tag":298,"props":3444,"children":3445},{},[3446],{"type":49,"tag":86,"props":3447,"children":3449},{"className":3448},[],[3450],{"type":55,"value":3378},{"type":49,"tag":298,"props":3452,"children":3453},{},[3454],{"type":49,"tag":86,"props":3455,"children":3457},{"className":3456},[],[3458],{"type":55,"value":3369},{"type":49,"tag":298,"props":3460,"children":3461},{},[3462,3464,3470],{"type":55,"value":3463},"Enable ",{"type":49,"tag":86,"props":3465,"children":3467},{"className":3466},[],[3468],{"type":55,"value":3469},"resValues = true",{"type":55,"value":3471}," where needed",{"type":49,"tag":276,"props":3473,"children":3474},{},[3475,3484,3492,3500],{"type":49,"tag":298,"props":3476,"children":3477},{},[3478],{"type":49,"tag":86,"props":3479,"children":3481},{"className":3480},[],[3482],{"type":55,"value":3483},"android.defaults.buildfeatures.shaders",{"type":49,"tag":298,"props":3485,"children":3486},{},[3487],{"type":49,"tag":86,"props":3488,"children":3490},{"className":3489},[],[3491],{"type":55,"value":3378},{"type":49,"tag":298,"props":3493,"children":3494},{},[3495],{"type":49,"tag":86,"props":3496,"children":3498},{"className":3497},[],[3499],{"type":55,"value":3369},{"type":49,"tag":298,"props":3501,"children":3502},{},[3503],{"type":55,"value":3504},"Enable shaders where needed",{"type":49,"tag":276,"props":3506,"children":3507},{},[3508,3517,3525,3533],{"type":49,"tag":298,"props":3509,"children":3510},{},[3511],{"type":49,"tag":86,"props":3512,"children":3514},{"className":3513},[],[3515],{"type":55,"value":3516},"android.r8.optimizedResourceShrinking",{"type":49,"tag":298,"props":3518,"children":3519},{},[3520],{"type":49,"tag":86,"props":3521,"children":3523},{"className":3522},[],[3524],{"type":55,"value":3369},{"type":49,"tag":298,"props":3526,"children":3527},{},[3528],{"type":49,"tag":86,"props":3529,"children":3531},{"className":3530},[],[3532],{"type":55,"value":3378},{"type":49,"tag":298,"props":3534,"children":3535},{},[3536],{"type":55,"value":3537},"Review R8 keep rules",{"type":49,"tag":276,"props":3539,"children":3540},{},[3541,3550,3558,3566],{"type":49,"tag":298,"props":3542,"children":3543},{},[3544],{"type":49,"tag":86,"props":3545,"children":3547},{"className":3546},[],[3548],{"type":55,"value":3549},"android.r8.strictFullModeForKeepRules",{"type":49,"tag":298,"props":3551,"children":3552},{},[3553],{"type":49,"tag":86,"props":3554,"children":3556},{"className":3555},[],[3557],{"type":55,"value":3369},{"type":49,"tag":298,"props":3559,"children":3560},{},[3561],{"type":49,"tag":86,"props":3562,"children":3564},{"className":3563},[],[3565],{"type":55,"value":3378},{"type":49,"tag":298,"props":3567,"children":3568},{},[3569],{"type":55,"value":3570},"Update keep rules to be explicit",{"type":49,"tag":276,"props":3572,"children":3573},{},[3574,3583,3591,3599],{"type":49,"tag":298,"props":3575,"children":3576},{},[3577],{"type":49,"tag":86,"props":3578,"children":3580},{"className":3579},[],[3581],{"type":55,"value":3582},"android.proguard.failOnMissingFiles",{"type":49,"tag":298,"props":3584,"children":3585},{},[3586],{"type":49,"tag":86,"props":3587,"children":3589},{"className":3588},[],[3590],{"type":55,"value":3369},{"type":49,"tag":298,"props":3592,"children":3593},{},[3594],{"type":49,"tag":86,"props":3595,"children":3597},{"className":3596},[],[3598],{"type":55,"value":3378},{"type":49,"tag":298,"props":3600,"children":3601},{},[3602],{"type":55,"value":3603},"Remove invalid ProGuard file references",{"type":49,"tag":276,"props":3605,"children":3606},{},[3607,3616,3624,3632],{"type":49,"tag":298,"props":3608,"children":3609},{},[3610],{"type":49,"tag":86,"props":3611,"children":3613},{"className":3612},[],[3614],{"type":55,"value":3615},"android.r8.proguardAndroidTxt.disallowed",{"type":49,"tag":298,"props":3617,"children":3618},{},[3619],{"type":49,"tag":86,"props":3620,"children":3622},{"className":3621},[],[3623],{"type":55,"value":3369},{"type":49,"tag":298,"props":3625,"children":3626},{},[3627],{"type":49,"tag":86,"props":3628,"children":3630},{"className":3629},[],[3631],{"type":55,"value":3378},{"type":49,"tag":298,"props":3633,"children":3634},{},[3635,3637,3643],{"type":55,"value":3636},"Use ",{"type":49,"tag":86,"props":3638,"children":3640},{"className":3639},[],[3641],{"type":55,"value":3642},"proguard-android-optimize.txt",{"type":55,"value":3644}," only",{"type":49,"tag":276,"props":3646,"children":3647},{},[3648,3657,3665,3673],{"type":49,"tag":298,"props":3649,"children":3650},{},[3651],{"type":49,"tag":86,"props":3652,"children":3654},{"className":3653},[],[3655],{"type":55,"value":3656},"android.r8.globalOptionsInConsumerRules.disallowed",{"type":49,"tag":298,"props":3658,"children":3659},{},[3660],{"type":49,"tag":86,"props":3661,"children":3663},{"className":3662},[],[3664],{"type":55,"value":3369},{"type":49,"tag":298,"props":3666,"children":3667},{},[3668],{"type":49,"tag":86,"props":3669,"children":3671},{"className":3670},[],[3672],{"type":55,"value":3378},{"type":49,"tag":298,"props":3674,"children":3675},{},[3676],{"type":55,"value":3677},"Remove global options from library consumer rules",{"type":49,"tag":276,"props":3679,"children":3680},{},[3681,3690,3698,3706],{"type":49,"tag":298,"props":3682,"children":3683},{},[3684],{"type":49,"tag":86,"props":3685,"children":3687},{"className":3686},[],[3688],{"type":55,"value":3689},"android.sourceset.disallowProvider",{"type":49,"tag":298,"props":3691,"children":3692},{},[3693],{"type":49,"tag":86,"props":3694,"children":3696},{"className":3695},[],[3697],{"type":55,"value":3369},{"type":49,"tag":298,"props":3699,"children":3700},{},[3701],{"type":49,"tag":86,"props":3702,"children":3704},{"className":3703},[],[3705],{"type":55,"value":3378},{"type":49,"tag":298,"props":3707,"children":3708},{},[3709,3710,3716],{"type":55,"value":3636},{"type":49,"tag":86,"props":3711,"children":3713},{"className":3712},[],[3714],{"type":55,"value":3715},"Sources",{"type":55,"value":3717}," API on androidComponents",{"type":49,"tag":276,"props":3719,"children":3720},{},[3721,3730,3738,3746],{"type":49,"tag":298,"props":3722,"children":3723},{},[3724],{"type":49,"tag":86,"props":3725,"children":3727},{"className":3726},[],[3728],{"type":55,"value":3729},"android.sdk.defaultTargetSdkToCompileSdkIfUnset",{"type":49,"tag":298,"props":3731,"children":3732},{},[3733],{"type":49,"tag":86,"props":3734,"children":3736},{"className":3735},[],[3737],{"type":55,"value":3369},{"type":49,"tag":298,"props":3739,"children":3740},{},[3741],{"type":49,"tag":86,"props":3742,"children":3744},{"className":3743},[],[3745],{"type":55,"value":3378},{"type":49,"tag":298,"props":3747,"children":3748},{},[3749,3751,3756],{"type":55,"value":3750},"Specify ",{"type":49,"tag":86,"props":3752,"children":3754},{"className":3753},[],[3755],{"type":55,"value":1543},{"type":55,"value":3757}," explicitly",{"type":49,"tag":276,"props":3759,"children":3760},{},[3761,3770,3778,3786],{"type":49,"tag":298,"props":3762,"children":3763},{},[3764],{"type":49,"tag":86,"props":3765,"children":3767},{"className":3766},[],[3768],{"type":55,"value":3769},"android.onlyEnableUnitTestForTheTestedBuildType",{"type":49,"tag":298,"props":3771,"children":3772},{},[3773],{"type":49,"tag":86,"props":3774,"children":3776},{"className":3775},[],[3777],{"type":55,"value":3369},{"type":49,"tag":298,"props":3779,"children":3780},{},[3781],{"type":49,"tag":86,"props":3782,"children":3784},{"className":3783},[],[3785],{"type":55,"value":3378},{"type":49,"tag":298,"props":3787,"children":3788},{},[3789],{"type":55,"value":3790},"Only if testing non-default build types",{"type":49,"tag":58,"props":3792,"children":3793},{},[3794],{"type":55,"value":3795},"Check for and remove properties that now cause errors:",{"type":49,"tag":407,"props":3797,"children":3798},{},[3799,3809],{"type":49,"tag":80,"props":3800,"children":3801},{},[3802,3807],{"type":49,"tag":86,"props":3803,"children":3805},{"className":3804},[],[3806],{"type":55,"value":2346},{"type":55,"value":3808}," — removed, always on",{"type":49,"tag":80,"props":3810,"children":3811},{},[3812,3817],{"type":49,"tag":86,"props":3813,"children":3815},{"className":3814},[],[3816],{"type":55,"value":2357},{"type":55,"value":3808},{"type":49,"tag":64,"props":3819,"children":3821},{"id":3820},"pure-android-tips",[3822],{"type":55,"value":3823},"Pure Android Tips",{"type":49,"tag":58,"props":3825,"children":3826},{},[3827],{"type":55,"value":3828},"For non-KMP Android modules upgrading to AGP 9.0:",{"type":49,"tag":407,"props":3830,"children":3831},{},[3832,3846,3861,3882,3912,3938,3955,3977,3994,4012],{"type":49,"tag":80,"props":3833,"children":3834},{},[3835,3844],{"type":49,"tag":152,"props":3836,"children":3837},{},[3838,3839],{"type":55,"value":523},{"type":49,"tag":86,"props":3840,"children":3842},{"className":3841},[],[3843],{"type":55,"value":216},{"type":55,"value":3845}," plugin — AGP 9.0 includes Kotlin support built-in (see \"Built-in Kotlin Migration\" above)",{"type":49,"tag":80,"props":3847,"children":3848},{},[3849,3854,3856],{"type":49,"tag":152,"props":3850,"children":3851},{},[3852],{"type":55,"value":3853},"Migrate kapt",{"type":55,"value":3855}," to KSP or ",{"type":49,"tag":86,"props":3857,"children":3859},{"className":3858},[],[3860],{"type":55,"value":236},{"type":49,"tag":80,"props":3862,"children":3863},{},[3864,3875,3876],{"type":49,"tag":152,"props":3865,"children":3866},{},[3867,3869],{"type":55,"value":3868},"Migrate ",{"type":49,"tag":86,"props":3870,"children":3872},{"className":3871},[],[3873],{"type":55,"value":3874},"kotlinOptions",{"type":55,"value":1386},{"type":49,"tag":86,"props":3877,"children":3879},{"className":3878},[],[3880],{"type":55,"value":3881},"kotlin { compilerOptions {} }",{"type":49,"tag":80,"props":3883,"children":3884},{},[3885,3895,3896,3902,3904,3910],{"type":49,"tag":152,"props":3886,"children":3887},{},[3888,3889],{"type":55,"value":3868},{"type":49,"tag":86,"props":3890,"children":3892},{"className":3891},[],[3893],{"type":55,"value":3894},"kotlin.sourceSets",{"type":55,"value":1386},{"type":49,"tag":86,"props":3897,"children":3899},{"className":3898},[],[3900],{"type":55,"value":3901},"android.sourceSets",{"type":55,"value":3903}," with ",{"type":49,"tag":86,"props":3905,"children":3907},{"className":3906},[],[3908],{"type":55,"value":3909},".kotlin",{"type":55,"value":3911}," accessor",{"type":49,"tag":80,"props":3913,"children":3914},{},[3915,3920,3922,3928,3930,3936],{"type":49,"tag":152,"props":3916,"children":3917},{},[3918],{"type":55,"value":3919},"Review new DSL interfaces",{"type":55,"value":3921}," — ",{"type":49,"tag":86,"props":3923,"children":3925},{"className":3924},[],[3926],{"type":55,"value":3927},"BaseExtension",{"type":55,"value":3929}," is removed; use ",{"type":49,"tag":86,"props":3931,"children":3933},{"className":3932},[],[3934],{"type":55,"value":3935},"CommonExtension",{"type":55,"value":3937}," or specific extension types",{"type":49,"tag":80,"props":3939,"children":3940},{},[3941,3946,3948,3953],{"type":49,"tag":152,"props":3942,"children":3943},{},[3944],{"type":55,"value":3945},"Java default changed",{"type":55,"value":3947}," from Java 8 to Java 11 — ensure ",{"type":49,"tag":86,"props":3949,"children":3951},{"className":3950},[],[3952],{"type":55,"value":2937},{"type":55,"value":3954}," reflects this",{"type":49,"tag":80,"props":3956,"children":3957},{},[3958,3963,3965,3970,3972],{"type":49,"tag":152,"props":3959,"children":3960},{},[3961],{"type":55,"value":3962},"R class is now compile-time non-final",{"type":55,"value":3964}," in app modules — refactor any ",{"type":49,"tag":86,"props":3966,"children":3968},{"className":3967},[],[3969],{"type":55,"value":3422},{"type":55,"value":3971}," statements on R class fields to ",{"type":49,"tag":86,"props":3973,"children":3975},{"className":3974},[],[3976],{"type":55,"value":3430},{"type":49,"tag":80,"props":3978,"children":3979},{},[3980,3985,3987,3992],{"type":49,"tag":152,"props":3981,"children":3982},{},[3983],{"type":55,"value":3984},"targetSdk defaults to compileSdk",{"type":55,"value":3986}," if not set — specify ",{"type":49,"tag":86,"props":3988,"children":3990},{"className":3989},[],[3991],{"type":55,"value":1543},{"type":55,"value":3993}," explicitly to avoid surprises",{"type":49,"tag":80,"props":3995,"children":3996},{},[3997,4002,4004,4010],{"type":49,"tag":152,"props":3998,"children":3999},{},[4000],{"type":55,"value":4001},"NDK default changed to r28c",{"type":55,"value":4003}," — specify ",{"type":49,"tag":86,"props":4005,"children":4007},{"className":4006},[],[4008],{"type":55,"value":4009},"ndkVersion",{"type":55,"value":4011}," explicitly if using native code",{"type":49,"tag":80,"props":4013,"children":4014},{},[4015,4020,4021,4026,4027,4032,4033,4038],{"type":49,"tag":152,"props":4016,"children":4017},{},[4018],{"type":55,"value":4019},"Temporary opt-out",{"type":55,"value":502},{"type":49,"tag":86,"props":4022,"children":4024},{"className":4023},[],[4025],{"type":55,"value":2368},{"type":55,"value":308},{"type":49,"tag":86,"props":4028,"children":4030},{"className":4029},[],[4031],{"type":55,"value":2380},{"type":55,"value":3101},{"type":49,"tag":86,"props":4034,"children":4036},{"className":4035},[],[4037],{"type":55,"value":195},{"type":55,"value":4039}," (removed in AGP 10)",{"type":49,"tag":64,"props":4041,"children":4043},{"id":4042},"verification",[4044],{"type":55,"value":4045},"Verification",{"type":49,"tag":58,"props":4047,"children":4048},{},[4049,4051,4057],{"type":55,"value":4050},"After migration, verify with the ",{"type":49,"tag":478,"props":4052,"children":4054},{"href":4053},"assets\u002Fchecklist.md",[4055],{"type":55,"value":4056},"checklist",{"type":55,"value":4058},". Key checks:",{"type":49,"tag":76,"props":4060,"children":4061},{},[4062,4073,4084,4102,4113,4139,4144],{"type":49,"tag":80,"props":4063,"children":4064},{},[4065,4071],{"type":49,"tag":86,"props":4066,"children":4068},{"className":4067},[],[4069],{"type":55,"value":4070},".\u002Fgradlew build",{"type":55,"value":4072}," succeeds with no errors",{"type":49,"tag":80,"props":4074,"children":4075},{},[4076,4082],{"type":49,"tag":86,"props":4077,"children":4079},{"className":4078},[],[4080],{"type":55,"value":4081},".\u002Fgradlew :androidApp:assembleDebug",{"type":55,"value":4083}," succeeds (if app module exists)",{"type":49,"tag":80,"props":4085,"children":4086},{},[4087,4089,4094,4095,4100],{"type":55,"value":4088},"No ",{"type":49,"tag":86,"props":4090,"children":4092},{"className":4091},[],[4093],{"type":55,"value":314},{"type":55,"value":142},{"type":49,"tag":86,"props":4096,"children":4098},{"className":4097},[],[4099],{"type":55,"value":342},{"type":55,"value":4101}," in KMP modules",{"type":49,"tag":80,"props":4103,"children":4104},{},[4105,4106,4111],{"type":55,"value":4088},{"type":49,"tag":86,"props":4107,"children":4109},{"className":4108},[],[4110],{"type":55,"value":216},{"type":55,"value":4112}," in AGP 9.0 modules",{"type":49,"tag":80,"props":4114,"children":4115},{},[4116,4118,4124,4125,4131,4132,4138],{"type":55,"value":4117},"Source sets use correct names (",{"type":49,"tag":86,"props":4119,"children":4121},{"className":4120},[],[4122],{"type":55,"value":4123},"androidMain",{"type":55,"value":1537},{"type":49,"tag":86,"props":4126,"children":4128},{"className":4127},[],[4129],{"type":55,"value":4130},"androidHostTest",{"type":55,"value":1537},{"type":49,"tag":86,"props":4133,"children":4135},{"className":4134},[],[4136],{"type":55,"value":4137},"androidDeviceTest",{"type":55,"value":205},{"type":49,"tag":80,"props":4140,"children":4141},{},[4142],{"type":55,"value":4143},"No deprecation warnings about variant API",{"type":49,"tag":80,"props":4145,"children":4146},{},[4147],{"type":55,"value":4148},"Run configurations point to correct modules",{"type":49,"tag":64,"props":4150,"children":4152},{"id":4151},"common-issues",[4153],{"type":55,"value":4154},"Common Issues",{"type":49,"tag":58,"props":4156,"children":4157},{},[4158,4159,4164],{"type":55,"value":476},{"type":49,"tag":478,"props":4160,"children":4162},{"href":4161},"references\u002FKNOWN-ISSUES.md",[4163],{"type":55,"value":4161},{"type":55,"value":4165}," for details. Key gotchas:",{"type":49,"tag":256,"props":4167,"children":4169},{"id":4168},"kmp-library-plugin-issues",[4170],{"type":55,"value":4171},"KMP Library Plugin Issues",{"type":49,"tag":407,"props":4173,"children":4174},{},[4175,4211,4221,4237,4255,4273],{"type":49,"tag":80,"props":4176,"children":4177},{},[4178,4183,4185,4191,4193,4201,4202,4209],{"type":49,"tag":152,"props":4179,"children":4180},{},[4181],{"type":55,"value":4182},"BuildConfig unavailable",{"type":55,"value":4184}," in library modules — use DI\u002F",{"type":49,"tag":86,"props":4186,"children":4188},{"className":4187},[],[4189],{"type":55,"value":4190},"AppConfiguration",{"type":55,"value":4192}," interface, or use ",{"type":49,"tag":478,"props":4194,"children":4198},{"href":4195,"rel":4196},"https:\u002F\u002Fgithub.com\u002Fyshrsmz\u002FBuildKonfig",[4197],"nofollow",[4199],{"type":55,"value":4200},"BuildKonfig",{"type":55,"value":142},{"type":49,"tag":478,"props":4203,"children":4206},{"href":4204,"rel":4205},"https:\u002F\u002Fgithub.com\u002Fgmazzo\u002Fgradle-buildconfig-plugin",[4197],[4207],{"type":55,"value":4208},"gradle-buildconfig-plugin",{"type":55,"value":4210}," for compile-time constants",{"type":49,"tag":80,"props":4212,"children":4213},{},[4214,4219],{"type":49,"tag":152,"props":4215,"children":4216},{},[4217],{"type":55,"value":4218},"No build variants",{"type":55,"value":4220}," — single variant architecture; compile-time constants can use BuildKonfig\u002Fgradle-buildconfig-plugin flavors, but variant-specific dependencies\u002Fresources\u002Fsigning must move to app module",{"type":49,"tag":80,"props":4222,"children":4223},{},[4224,4229,4231,4236],{"type":49,"tag":152,"props":4225,"children":4226},{},[4227],{"type":55,"value":4228},"NDK\u002FJNI unsupported",{"type":55,"value":4230}," in new plugin — extract to separate ",{"type":49,"tag":86,"props":4232,"children":4234},{"className":4233},[],[4235],{"type":55,"value":314},{"type":55,"value":1153},{"type":49,"tag":80,"props":4238,"children":4239},{},[4240,4245,4247,4253],{"type":49,"tag":152,"props":4241,"children":4242},{},[4243],{"type":55,"value":4244},"Compose resources crash",{"type":55,"value":4246}," without ",{"type":49,"tag":86,"props":4248,"children":4250},{"className":4249},[],[4251],{"type":55,"value":4252},"androidResources { enable = true }",{"type":55,"value":4254}," (CMP-9547)",{"type":49,"tag":80,"props":4256,"children":4257},{},[4258,4263,4265,4271],{"type":49,"tag":152,"props":4259,"children":4260},{},[4261],{"type":55,"value":4262},"Consumer ProGuard rules silently dropped",{"type":55,"value":4264}," if not migrated to ",{"type":49,"tag":86,"props":4266,"children":4268},{"className":4267},[],[4269],{"type":55,"value":4270},"consumerProguardFiles.add(file(...))",{"type":55,"value":4272}," in new DSL",{"type":49,"tag":80,"props":4274,"children":4275},{},[4276,4281],{"type":49,"tag":152,"props":4277,"children":4278},{},[4279],{"type":55,"value":4280},"KSP",{"type":55,"value":4282}," requires version 2.3.4+ for AGP 9.0 compatibility",{"type":49,"tag":256,"props":4284,"children":4286},{"id":4285},"agp-90-general-issues",[4287],{"type":55,"value":4288},"AGP 9.0 General Issues",{"type":49,"tag":407,"props":4290,"children":4291},{},[4292,4308,4318,4355,4376,4385,4395,4405],{"type":49,"tag":80,"props":4293,"children":4294},{},[4295,4300,4301,4306],{"type":49,"tag":152,"props":4296,"children":4297},{},[4298],{"type":55,"value":4299},"Built-in Kotlin conflicts",{"type":55,"value":3921},{"type":49,"tag":86,"props":4302,"children":4304},{"className":4303},[],[4305],{"type":55,"value":216},{"type":55,"value":4307}," must be removed; kapt must be replaced",{"type":49,"tag":80,"props":4309,"children":4310},{},[4311,4316],{"type":49,"tag":152,"props":4312,"children":4313},{},[4314],{"type":55,"value":4315},"BaseExtension removed",{"type":55,"value":4317}," — convention plugins using old DSL types need rewriting",{"type":49,"tag":80,"props":4319,"children":4320},{},[4321,4326,4327,4333,4334,4340,4341,4347,4349],{"type":49,"tag":152,"props":4322,"children":4323},{},[4324],{"type":55,"value":4325},"Variant APIs removed",{"type":55,"value":3921},{"type":49,"tag":86,"props":4328,"children":4330},{"className":4329},[],[4331],{"type":55,"value":4332},"applicationVariants",{"type":55,"value":1537},{"type":49,"tag":86,"props":4335,"children":4337},{"className":4336},[],[4338],{"type":55,"value":4339},"libraryVariants",{"type":55,"value":1537},{"type":49,"tag":86,"props":4342,"children":4344},{"className":4343},[],[4345],{"type":55,"value":4346},"variantFilter",{"type":55,"value":4348}," replaced by ",{"type":49,"tag":86,"props":4350,"children":4352},{"className":4351},[],[4353],{"type":55,"value":4354},"androidComponents",{"type":49,"tag":80,"props":4356,"children":4357},{},[4358,4363,4364,4369,4371],{"type":49,"tag":152,"props":4359,"children":4360},{},[4361],{"type":55,"value":4362},"R class non-final",{"type":55,"value":3921},{"type":49,"tag":86,"props":4365,"children":4367},{"className":4366},[],[4368],{"type":55,"value":3422},{"type":55,"value":4370}," on R fields fails in app modules; refactor to ",{"type":49,"tag":86,"props":4372,"children":4374},{"className":4373},[],[4375],{"type":55,"value":3430},{"type":49,"tag":80,"props":4377,"children":4378},{},[4379,4383],{"type":49,"tag":152,"props":4380,"children":4381},{},[4382],{"type":55,"value":3984},{"type":55,"value":4384}," — set explicitly to avoid unexpected behavior changes",{"type":49,"tag":80,"props":4386,"children":4387},{},[4388,4393],{"type":49,"tag":152,"props":4389,"children":4390},{},[4391],{"type":55,"value":4392},"R8 rule changes",{"type":55,"value":4394}," — strict full mode, no global options in consumer rules",{"type":49,"tag":80,"props":4396,"children":4397},{},[4398,4403],{"type":49,"tag":152,"props":4399,"children":4400},{},[4401],{"type":55,"value":4402},"Plugin compatibility",{"type":55,"value":4404}," — many plugins need updates or opt-out flags; check Plugin Compatibility section",{"type":49,"tag":80,"props":4406,"children":4407},{},[4408,4413,4415,4420],{"type":49,"tag":152,"props":4409,"children":4410},{},[4411],{"type":55,"value":4412},"Convention plugins",{"type":55,"value":4414}," need refactoring — old ",{"type":49,"tag":86,"props":4416,"children":4418},{"className":4417},[],[4419],{"type":55,"value":546},{"type":55,"value":4421}," extension helpers are obsolete",{"type":49,"tag":64,"props":4423,"children":4425},{"id":4424},"reference-files",[4426],{"type":55,"value":4427},"Reference Files",{"type":49,"tag":407,"props":4429,"children":4430},{},[4431,4442,4453],{"type":49,"tag":80,"props":4432,"children":4433},{},[4434,4440],{"type":49,"tag":478,"props":4435,"children":4437},{"href":4436},"references\u002FDSL-REFERENCE.md",[4438],{"type":55,"value":4439},"DSL Reference",{"type":55,"value":4441}," — side-by-side old→new DSL mapping",{"type":49,"tag":80,"props":4443,"children":4444},{},[4445,4451],{"type":49,"tag":478,"props":4446,"children":4448},{"href":4447},"references\u002FVERSION-MATRIX.md",[4449],{"type":55,"value":4450},"Version Matrix",{"type":55,"value":4452}," — AGP\u002FGradle\u002FKGP\u002FIDE compatibility",{"type":49,"tag":80,"props":4454,"children":4455},{},[4456,4460],{"type":49,"tag":478,"props":4457,"children":4458},{"href":3277},[4459],{"type":55,"value":3270},{"type":55,"value":4461}," — third-party plugin status and workarounds",{"type":49,"tag":4463,"props":4464,"children":4465},"style",{},[4466],{"type":55,"value":4467},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4469,"total":4598},[4470,4488,4497,4506,4517,4527,4540,4549,4558,4568,4577,4588],{"slug":4471,"name":4471,"fn":4472,"description":4473,"org":4474,"tags":4475,"stars":4485,"repoUrl":4486,"updatedAt":4487},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4476,4479,4482],{"name":4477,"slug":4478,"type":15},"Architecture","architecture",{"name":4480,"slug":4481,"type":15},"Configuration","configuration",{"name":4483,"slug":4484,"type":15},"Engineering","engineering",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:06:57.311661",{"slug":4489,"name":4489,"fn":4490,"description":4491,"org":4492,"tags":4493,"stars":4485,"repoUrl":4486,"updatedAt":4496},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4494,4495],{"name":4477,"slug":4478,"type":15},{"name":4483,"slug":4484,"type":15},"2026-07-17T06:04:48.066901",{"slug":4498,"name":4498,"fn":4499,"description":4500,"org":4501,"tags":4502,"stars":4485,"repoUrl":4486,"updatedAt":4505},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4503,4504],{"name":4477,"slug":4478,"type":15},{"name":4483,"slug":4484,"type":15},"2026-07-13T06:45:21.757084",{"slug":4507,"name":4507,"fn":4508,"description":4509,"org":4510,"tags":4511,"stars":4485,"repoUrl":4486,"updatedAt":4516},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4512,4513],{"name":4477,"slug":4478,"type":15},{"name":4514,"slug":4515,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":4518,"name":4518,"fn":4519,"description":4520,"org":4521,"tags":4522,"stars":4485,"repoUrl":4486,"updatedAt":4526},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4523],{"name":4524,"slug":4525,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":4528,"name":4528,"fn":4529,"description":4530,"org":4531,"tags":4532,"stars":4485,"repoUrl":4486,"updatedAt":4539},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4533,4536],{"name":4534,"slug":4535,"type":15},"Design","design",{"name":4537,"slug":4538,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":4541,"name":4541,"fn":4542,"description":4543,"org":4544,"tags":4545,"stars":4485,"repoUrl":4486,"updatedAt":4548},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4546,4547],{"name":4483,"slug":4484,"type":15},{"name":4537,"slug":4538,"type":15},"2026-07-23T05:41:49.666535",{"slug":4550,"name":4550,"fn":4551,"description":4552,"org":4553,"tags":4554,"stars":4485,"repoUrl":4486,"updatedAt":4557},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4555,4556],{"name":4477,"slug":4478,"type":15},{"name":4483,"slug":4484,"type":15},"2026-07-13T06:44:59.507855",{"slug":4559,"name":4559,"fn":4560,"description":4561,"org":4562,"tags":4563,"stars":4485,"repoUrl":4486,"updatedAt":4567},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4564,4565,4566],{"name":4477,"slug":4478,"type":15},{"name":4514,"slug":4515,"type":15},{"name":4483,"slug":4484,"type":15},"2026-07-17T06:06:58.042999",{"slug":4569,"name":4569,"fn":4570,"description":4571,"org":4572,"tags":4573,"stars":4485,"repoUrl":4486,"updatedAt":4576},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4574,4575],{"name":4477,"slug":4478,"type":15},{"name":4483,"slug":4484,"type":15},"2026-07-23T05:41:48.692899",{"slug":4578,"name":4578,"fn":4579,"description":4580,"org":4581,"tags":4582,"stars":4485,"repoUrl":4486,"updatedAt":4587},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4583,4586],{"name":4584,"slug":4585,"type":15},"Debugging","debugging",{"name":26,"slug":27,"type":15},"2026-07-13T06:45:20.372122",{"slug":4589,"name":4589,"fn":4590,"description":4591,"org":4592,"tags":4593,"stars":4485,"repoUrl":4486,"updatedAt":4597},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4594],{"name":4595,"slug":4596,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":4600,"total":4716},[4601,4620,4635,4649,4664,4685,4702],{"slug":4602,"name":4602,"fn":4603,"description":4604,"org":4605,"tags":4606,"stars":28,"repoUrl":29,"updatedAt":4619},"algorithmic-art","create generative art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4607,4610,4613,4616],{"name":4608,"slug":4609,"type":15},"Creative","creative",{"name":4611,"slug":4612,"type":15},"Generative Art","generative-art",{"name":4614,"slug":4615,"type":15},"Graphics","graphics",{"name":4617,"slug":4618,"type":15},"JavaScript","javascript","2026-07-13T06:41:35.540127",{"slug":4621,"name":4621,"fn":4622,"description":4623,"org":4624,"tags":4625,"stars":28,"repoUrl":29,"updatedAt":4634},"antfu","configure JavaScript projects with Anthony Fu's tools","Anthony Fu's opinionated tooling and conventions for JavaScript\u002FTypeScript projects. Use when setting up new projects, configuring ESLint\u002FPrettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4626,4629,4630,4631],{"name":4627,"slug":4628,"type":15},"Best Practices","best-practices",{"name":4483,"slug":4484,"type":15},{"name":4617,"slug":4618,"type":15},{"name":4632,"slug":4633,"type":15},"TypeScript","typescript","2026-07-13T06:43:13.153309",{"slug":4636,"name":4636,"fn":4637,"description":4638,"org":4639,"tags":4640,"stars":28,"repoUrl":29,"updatedAt":4648},"brand-guidelines","apply Anthropic brand guidelines","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4641,4644,4645],{"name":4642,"slug":4643,"type":15},"Branding","branding",{"name":4534,"slug":4535,"type":15},{"name":4646,"slug":4647,"type":15},"Typography","typography","2026-07-13T06:43:06.077629",{"slug":4650,"name":4650,"fn":4651,"description":4652,"org":4653,"tags":4654,"stars":28,"repoUrl":29,"updatedAt":4663},"canvas-design","create visual art and design assets","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4655,4656,4657,4660],{"name":4608,"slug":4609,"type":15},{"name":4534,"slug":4535,"type":15},{"name":4658,"slug":4659,"type":15},"Images","images",{"name":4661,"slug":4662,"type":15},"PDF","pdf","2026-07-13T06:39:58.803113",{"slug":4665,"name":4665,"fn":4666,"description":4667,"org":4668,"tags":4669,"stars":28,"repoUrl":29,"updatedAt":4684},"ci-cd-containerization-advisor","design CI\u002FCD pipelines for Kotlin applications","Design reproducible build, image, and deployment pipelines for Kotlin plus Spring applications, including CI verification, layered containers, rollout safety, and deployment-time migration coordination. Use when creating or improving Dockerfiles, CI workflows, image hardening, Kubernetes manifests, release gates, or deployment strategies for Spring Boot services, especially where build reproducibility and operational safety matter.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4670,4673,4676,4679,4680,4681],{"name":4671,"slug":4672,"type":15},"CI\u002FCD","ci-cd",{"name":4674,"slug":4675,"type":15},"Containers","containers",{"name":4677,"slug":4678,"type":15},"Deployment","deployment",{"name":4483,"slug":4484,"type":15},{"name":13,"slug":14,"type":15},{"name":4682,"slug":4683,"type":15},"Spring","spring","2026-07-13T06:41:47.83899",{"slug":4686,"name":4686,"fn":4687,"description":4688,"org":4689,"tags":4690,"stars":28,"repoUrl":29,"updatedAt":4701},"cloudflare-deploy","deploy applications to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4691,4694,4697,4700],{"name":4692,"slug":4693,"type":15},"Cloudflare","cloudflare",{"name":4695,"slug":4696,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":4698,"slug":4699,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":4677,"slug":4678,"type":15},"2026-07-17T06:04:42.853896",{"slug":4703,"name":4703,"fn":4704,"description":4705,"org":4706,"tags":4707,"stars":28,"repoUrl":29,"updatedAt":4715},"compose-ui-control","interact with Compose Desktop applications","Control a running Compose Desktop application via HTTP. Use when you need to interact with UI elements, click buttons, enter text, wait for elements to appear, or capture screenshots in a Compose Desktop app that has compose-ui-test-server enabled.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4708,4711,4714],{"name":4709,"slug":4710,"type":15},"Automation","automation",{"name":4712,"slug":4713,"type":15},"Desktop","desktop",{"name":4537,"slug":4538,"type":15},"2026-07-13T06:40:38.798626",128]