nx/docs/generated/packages/gradle/migrations/add-include-subprojects-tasks.json
Isaac Mann 8b11d8bfe5
docs(core): add migrations docs for 20.x (#30186)
Adds migration docs for all 20.0 through 20.4 migrations
2025-02-27 15:58:41 -05:00

15 lines
1.1 KiB
JSON

{
"name": "add-include-subprojects-tasks",
"version": "20.2.0-beta.4",
"cli": "nx",
"description": "Add includeSubprojectsTasks to build.gradle file",
"factory": "./src/migrations/20-2-0/add-include-subprojects-tasks",
"implementation": "/packages/gradle/src/migrations/20-2-0/add-include-subprojects-tasks.ts",
"aliases": [],
"hidden": false,
"path": "/packages/gradle",
"schema": null,
"type": "migration",
"examplesFile": "#### Add includeSubprojectsTasks to build.gradle File\n\nAdd includeSubprojectsTasks to build.gradle file\n\n#### Sample Code Changes\n\nUpdate import paths for `withModuleFederation` and `withModuleFederationForSSR`.\n\n{% tabs %}\n{% tab label=\"Before\" %}\n\n```json {% fileName=\"nx.json\" %}\n{\n \"plugins\": [\"@nx/gradle\"]\n}\n```\n\n{% /tab %}\n{% tab label=\"After\" %}\n\n```json {% highlightLines=[5] fileName=\"nx.json\" %}\n{\n \"plugins\": [\n {\n \"options\": {\n \"includeSubprojectsTasks\": true\n },\n \"plugin\": \"@nx/gradle\"\n }\n ]\n}\n```\n\n{% /tab %}\n{% /tabs %}\n"
}