Skip to content

Build a way to have multiple already installed versions of gradle available in CI #179959

Closed

Description

@reidbaker

We download gradle regularly in ci in addition to this being a poor ecosystem member it causes flakes when we get throttled. Gradle downloads to a directory that is checked first per machine. Build a way to prepopulate that with many versions of gradle so they do not need to be downloaded.

Activity

  1. added
    P2Important issues not at the top of the work list
    team-androidOwned by Android platform team
    fyi-infraFor the attention of Infrastructure team
    on Dec 16, 2025
  2. removed
    fyi-infraFor the attention of Infrastructure team
    on Jan 5, 2026
  3. mboetger commented on Mar 18, 2026

    @mboetger
    Contributor

    I see two possibilities:

    1. We use the distributionPath property to point to a folder that holds the gradle versions we are interested in (maybe something that we'll need to update regularlly)
    2. We use a proxy that will cache the gradle distributions and point the distributionUrl at the proxy. This should mean we only need to download once and then it's available in our infrastructure.
  4. added a commit that references this issue on Aug 12, 2026
    c243752
  5. github-actions commented on Aug 26, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2Important issues not at the top of the work listplatform-androidAndroid applications specificallyteam-androidOwned by Android platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions