{
  "id": "java/gradle-missing-task-definition",
  "signature": "Task 'deploy' not found in project ':app'. Available tasks: assemble, build, clean, jar, test, ...",
  "signature_zh": "在项目 ':app' 中未找到任务 'deploy'。可用任务：assemble, build, clean, jar, test, ...",
  "regex": "Task\\ 'deploy'\\ not\\ found\\ in\\ project\\ ':app'\\.\\ Available\\ tasks:\\ assemble,\\ build,\\ clean,\\ jar,\\ test,\\ \\.\\.\\.",
  "domain": "java",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "The 'deploy' task is not defined in the build script or is defined in a subproject that is not included.",
  "root_cause_type": "generic",
  "root_cause_zh": "构建脚本中未定义 'deploy' 任务，或者该任务定义在未包含的子项目中。",
  "versions": [
    {
      "version": "7+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Creating a custom task with the same name but no implementation",
      "why_fails": "The task will do nothing and may cause confusion.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Running the task in a different subproject",
      "why_fails": "The task may not exist there either, or it may be the wrong one.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Define the 'deploy' task in the build script",
      "success_rate": 0.95,
      "how": "task deploy { doLast { println 'Deploying...' } }",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check the available tasks and use an existing one like 'publish'",
      "success_rate": 0.9,
      "how": "gradle tasks --group build",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-10-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}