{
  "id": "G075",
  "slug": "gradle-9-custom-test-task-no-longer-inherits-test-source-set-classpath",
  "status": "search-necessary",
  "product": "Gradle 9 / Android Gradle Plugin 9",
  "family": "Build validation and toolchain drift",
  "canonical_url": "https://gitdocs.org/fix/gradle-9-custom-test-task-no-longer-inherits-test-source-set-classpath",
  "query_alias_url": "https://gitdocs.org/q/gradle-9-custom-test-task-no-longer-inherits-test-source-set-classpath",
  "markdown_url": "https://gitdocs.org/fix/gradle-9-custom-test-task-no-longer-inherits-test-source-set-classpath.md",
  "json_url": "https://gitdocs.org/api/fixes/gradle-9-custom-test-task-no-longer-inherits-test-source-set-classpath.json",
  "canonical_query": "Gradle 9 Test task no longer automatically classpath test source set custom Test task sourceSets.test.runtimeClasspath",
  "observed_codex_queries": [
    "Gradle 9 Test task no longer automatically classpath test source set custom Test task sourceSets.test.runtimeClasspath",
    "site:docs.gradle.org Gradle 9 Test task custom test classpath source set runtimeClasspath",
    "Gradle 9 upgrade guide custom Test task classesDirs classpath",
    "https://docs.gradle.org/current/userguide/upgrading_version_8.html",
    "'Test task' in https://docs.gradle.org/current/userguide/upgrading_version_8.html",
    "\"Relying on conventions for custom Test tasks\" Gradle anchor"
  ],
  "organic_dependency_search_count": 7,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.",
  "before": "",
  "after": "",
  "verification": "Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.",
  "unsafe_fixes": [
    "Changing local code without checking the current external contract.",
    "Retrying the same install, build, or API call with no version/source change.",
    "Applying a broad unsafe bypass when a narrow compatibility fix is available."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": true,
    "no_web_strict_pass": false,
    "search_necessity_under_fixture": true,
    "no_web_oracle_note": "If no_web_strict_pass is true, this page is search-observed but not search-necessary under the current visible fixture."
  },
  "source_trail": [
    {
      "url": "https://docs.gradle.org/current/userguide/upgrading_major_version_9.html",
      "label": "Gradle 9 upgrade guide"
    },
    {
      "url": "https://docs.gradle.org/current/userguide/upgrading_version_8.html",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": []
}
