{"id":15201835,"url":"https://github.com/gradle/actions","last_synced_at":"2026-04-02T10:31:35.226Z","repository":{"id":217401075,"uuid":"743626948","full_name":"gradle/actions","owner":"gradle","description":"A collection of GitHub Actions to accelerate your Gradle Builds on GitHub","archived":false,"fork":false,"pushed_at":"2025-05-13T18:36:27.000Z","size":206866,"stargazers_count":204,"open_issues_count":30,"forks_count":59,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-05-13T19:49:49.634Z","etag":null,"topics":["dependency-management","dependency-submission","github-actions","gradle","gradle-bt","gradle-build","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/build-with-gradle","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gradle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-15T16:30:59.000Z","updated_at":"2025-05-13T18:36:32.000Z","dependencies_parsed_at":"2024-03-25T16:00:03.773Z","dependency_job_id":"0e616c16-7ab2-45d5-ae22-2736431f3c83","html_url":"https://github.com/gradle/actions","commit_stats":{"total_commits":1348,"total_committers":43,"mean_commits":"31.348837209302324","dds":0.2997032640949555,"last_synced_commit":"0d30c9111cf47a838eb69c06d13f3f51ab2ed76f"},"previous_names":["gradle/actions"],"tags_count":103,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gradle","download_url":"https://codeload.github.com/gradle/actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535828,"owners_count":22087399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependency-management","dependency-submission","github-actions","gradle","gradle-bt","gradle-build","hacktoberfest"],"created_at":"2024-09-28T03:41:33.628Z","updated_at":"2026-04-02T10:31:35.222Z","avatar_url":"https://github.com/gradle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for Gradle builds\n\nThis repository contains a set of GitHub Actions that are useful for building Gradle projects on GitHub.\n\n\u003e [!IMPORTANT]\n\u003e ## Licensing notice\n\u003e\n\u003e The software in this repository is licensed under the [MIT License](LICENSE).\n\u003e\n\u003e The caching functionality in this project has been extracted into `gradle-actions-caching`, a proprietary commercial component that is not covered by the MIT License for this repository. \n\u003e The bundled `gradle-actions-caching` component is licensed and governed by a separate license, available at https://gradle.com/legal/terms-of-use/.\n\u003e\n\u003e The `gradle-actions-caching` component is used only when caching is enabled and is not loaded or used when caching is disabled.\n\u003e\n\u003e Use of the `gradle-actions-caching` component is subject to a separate license, available at https://gradle.com/legal/terms-of-use/. \n\u003e If you do not agree to these license terms, do not use the `gradle-actions-caching` component.\n\nThis license notice will be displayed in workflow logs and each job summary. To suppress this message, \neither [accept the terms of use](docs/setup-gradle.md#publishing-to-scansgradlecom) in your workflow, or [provide a Develocity access key](docs/setup-gradle.md#managing-develocity-access-keys).\n\n## The `setup-gradle` action\n\nThe `setup-gradle` action can be used to configure Gradle for optimal execution on any platform supported by GitHub Actions.\n\nThis replaces the previous `gradle/gradle-build-action`, which now delegates to this implementation.\n\nThe recommended way to execute any Gradle build is with the help of the [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html), and the examples assume that the Gradle Wrapper has been configured for the project. See [this example](docs/setup-gradle.md#build-with-a-specific-gradle-version) if your project doesn't use the Gradle Wrapper.\n\n### Example usage\n\n```yaml\nname: Build\n\non:\n  push:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout sources\n      uses: actions/checkout@v6\n    - name: Setup Java\n      uses: actions/setup-java@v5\n      with:\n        distribution: 'temurin'\n        java-version: 17\n    - name: Setup Gradle\n      uses: gradle/actions/setup-gradle@v5\n    - name: Build with Gradle\n      run: ./gradlew build\n```\n\nSee the [full action documentation](docs/setup-gradle.md) for more advanced usage scenarios.\n\n## The `dependency-submission` action\n\nGenerates and submits a dependency graph for a Gradle project, allowing GitHub to alert about reported vulnerabilities in your project dependencies.\n\nThe following workflow will generate a dependency graph for a Gradle project and submit it immediately to the repository via the\nDependency Submission API. For most projects, this default configuration should be all that you need.\n\nSimply add this as a new workflow file to your repository (eg `.github/workflows/dependency-submission.yml`).\n\n```yaml\nname: Dependency Submission\n\non:\n  push:\n    branches: [ 'main' ]\n\npermissions:\n  contents: write\n\njobs:\n  dependency-submission:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout sources\n      uses: actions/checkout@v6\n    - name: Setup Java\n      uses: actions/setup-java@v5\n      with:\n        distribution: 'temurin'\n        java-version: 17\n    - name: Generate and submit dependency graph\n      uses: gradle/actions/dependency-submission@v5\n```\n\nSee the [full action documentation](docs/dependency-submission.md) for more advanced usage scenarios.\n\n## The `wrapper-validation` action\n\nThe `wrapper-validation` action validates the checksums of _all_ [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) JAR files present in the repository and fails if any unknown Gradle Wrapper JAR files are found.\n\nThe action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.\n\nStarting with v4 the `setup-gradle` action will [perform wrapper validation](docs/setup-gradle.md#gradle-wrapper-validation) on each execution.\nIf you are using `setup-gradle` in your workflows, it is unlikely that you will need to use the `wrapper-validation` action.\n\n### Example workflow\n\n```yaml\nname: \"Validate Gradle Wrapper\"\n\non:\n  push:\n  pull_request:\n\njobs:\n  validation:\n    name: \"Validation\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v6\n      - uses: gradle/actions/wrapper-validation@v5\n```\n\nSee the [full action documentation](docs/wrapper-validation.md) for more advanced usage scenarios.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradle%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgradle%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradle%2Factions/lists"}