{"repo":"gilzoide/unity-gradle-wrapper","free":true,"listed":false,"github":"https://github.com/gilzoide/unity-gradle-wrapper","clone":"git clone https://github.com/gilzoide/unity-gradle-wrapper.git","description":"Automatically generate Gradle Wrapper (gradlew) when exporting Android projects in Unity","language":"C#","stars":54,"topics":["android","android-project","gradle-wrapper","unity","build"],"license":"Unlicense","category":"game-templates","readme_excerpt":"Gradle Wrapper Generator Automatically generate a Gradle Wrapper (gradlew) when exporting Android projects in Unity. Just choose the desired version in Gradle Wrapper Project Settings and voilà! The plugin will use the JDK and Gradle configured in Unity for generating the wrapper, so there's no need to install or configure anything else. The Gradle Version setting gets stored in the ProjectSettings/GradleVersion.txt file. Installing This package is available on the openupm registry and can be installed using the openupm-cli: Otherwise, you can install via Unity Package Manager using this repository URL and tag: Alternatively, add the following into your Packages/manifest.json file: How to use 1. Open the Gradle Wrapper section in Project Settings 2. Write the version of Gradle you want in the Gradle Version setting input field 3. Mark Export Project in the Build Settings window 4. Hit the Export button 5. Enjoy 🍾 Why If you open an exported project in Android Studio, it will generate a Gradle Wrapper if none is found in the project. It will use one of the newest versions of Gradle, which may be incompatible with the project's build scripts, and may not be able to build. Also, even though Unity bundles it's own version of Gradle and all others are not officially supported, sometimes projects need Gradle features that are only available in newer versions. In this scenario, every developer would need to download this specific version and configure Unity to use it. On top of tha","default_branch":null,"files":null,"tree":[],"storefront":"/r/gilzoide","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gilzoide/unity-gradle-wrapper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}