{"id":16209213,"url":"https://github.com/gilzoide/unity-gradle-wrapper","last_synced_at":"2025-07-18T16:37:49.325Z","repository":{"id":39703857,"uuid":"505188276","full_name":"gilzoide/unity-gradle-wrapper","owner":"gilzoide","description":"Automatically generate Gradle Wrapper (gradlew) when exporting Android projects in Unity","archived":false,"fork":false,"pushed_at":"2025-04-19T19:44:43.000Z","size":38,"stargazers_count":47,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T21:33:23.634Z","etag":null,"topics":["android","android-project","build","gradle-wrapper","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilzoide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2022-06-19T18:23:59.000Z","updated_at":"2025-04-19T19:44:38.000Z","dependencies_parsed_at":"2025-04-20T15:15:19.517Z","dependency_job_id":null,"html_url":"https://github.com/gilzoide/unity-gradle-wrapper","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/gilzoide/unity-gradle-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-gradle-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-gradle-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-gradle-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-gradle-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilzoide","download_url":"https://codeload.github.com/gilzoide/unity-gradle-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-gradle-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265793684,"owners_count":23829180,"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":["android","android-project","build","gradle-wrapper","unity"],"created_at":"2024-10-10T10:28:40.354Z","updated_at":"2025-07-18T16:37:49.317Z","avatar_url":"https://github.com/gilzoide.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gradle Wrapper Generator\n[![openupm](https://img.shields.io/npm/v/com.gilzoide.gradle-wrapper?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.gilzoide.gradle-wrapper/)\n\nAutomatically generate a [Gradle Wrapper (gradlew)](https://docs.gradle.org/current/userguide/gradle_wrapper.html)\nwhen exporting Android projects in Unity.\n\nJust choose the desired version in `Gradle Wrapper` Project Settings and voilà!\nThe plugin will use the JDK and Gradle configured in Unity for generating the\nwrapper, so there's no need to install or configure anything else.\n\nThe `Gradle Version` setting gets stored in the\n`ProjectSettings/GradleVersion.txt` file.\n\n\n## Installing\nThis package is available on the [openupm registry](https://openupm.com/) and can be installed using the [openupm-cli](https://github.com/openupm/openupm-cli):\n\n```\nopenupm add com.gilzoide.gradle-wrapper\n```\n\nOtherwise, you can install via [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html)\nusing this repository URL and tag:\n\n```\nhttps://github.com/gilzoide/unity-gradle-wrapper.git#1.1.2\n```\n\nAlternatively, add the following into your `Packages/manifest.json` file:\n\n```json\n{\n  \"dependencies\": {\n// ...\n    \"com.gilzoide.gradle-wrapper\": \"https://github.com/gilzoide/unity-gradle-wrapper.git#1.1.2\",\n// ...\n  }\n}\n```\n\n\n## How to use\n1. Open the `Gradle Wrapper` section in Project Settings\n2. Write the version of Gradle you want in the `Gradle Version` setting input\n   field\n3. Mark `Export Project` in the Build Settings window\n4. Hit the `Export` button\n5. Enjoy 🍾\n\n\n## Why\nIf you open an exported project in Android Studio, it will\ngenerate a Gradle Wrapper if none is found in the project.\nIt will use one of the newest versions of Gradle, which may be incompatible\nwith the project's build scripts, and may not be able to build.\n\nAlso, even though Unity bundles it's own version of Gradle and all others are\nnot officially supported, sometimes projects need Gradle features that are only\navailable in newer versions.\nIn this scenario, every developer would need to download this specific version\nand configure Unity to use it.\nOn top of that, when dealing with multiple projects, chances are not all of\nthem need the same version of Gradle.\n\nWith `gradlew`, all you need to do is run it, either from Android Studio or\nfrom the console - the wrapper will take care of downloading and running the\nright version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-gradle-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilzoide%2Funity-gradle-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-gradle-wrapper/lists"}