{
  "id": "java/gradle-missing-settings-file",
  "signature": "Settings file 'settings.gradle' not found. Please create one or run Gradle from the root project directory.",
  "signature_zh": "未找到设置文件 'settings.gradle'。请创建一个，或从根项目目录运行 Gradle。",
  "regex": "Settings\\ file\\ 'settings\\.gradle'\\ not\\ found\\.\\ Please\\ create\\ one\\ or\\ run\\ Gradle\\ from\\ the\\ root\\ project\\ directory\\.",
  "domain": "java",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "Gradle expects a settings.gradle file in the project root directory to define project structure.",
  "root_cause_type": "generic",
  "root_cause_zh": "Gradle 期望在项目根目录中存在 settings.gradle 文件以定义项目结构。",
  "versions": [
    {
      "version": "7+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Running Gradle from a subdirectory without a settings file",
      "why_fails": "Gradle cannot determine the project structure without a settings file.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Creating an empty settings.gradle file",
      "why_fails": "An empty file may be accepted, but it will not include any subprojects, which may be needed.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Create a settings.gradle file with the project name",
      "success_rate": 0.95,
      "how": "rootProject.name = 'my-app'",
      "condition": "",
      "sources": []
    },
    {
      "action": "Include subprojects if applicable",
      "success_rate": 0.9,
      "how": "rootProject.name = 'my-app'\ninclude 'subproject-a', 'subproject-b'",
      "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-12-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}