API v1 checking… · p50 — · 0 installs/hr
v0.10.0
Package
View on GitHub
gilzoide

Gradle Wrapper Generator

54 0

Automatically generates a Gradle Wrapper (gradlew) when exporting Android projects in Unity, eliminating manual setup and version conflicts. Simply specify your desired Gradle version in Project Settings, and the plugin leverages Unity's bundled JDK and Gradle to create the wrapper—no additional installation required. Ensures all developers use the same Gradle version and enables compatibility with newer Gradle features unavailable in Unity's default version.

Install via Unity Package Manager

Add to Unity Package Manager

Paste this URL into Unity's Window › Package Manager › + › Add package from git URL, or click Install.

git https://www.pkglnk.dev/gradle-wrapper.git
Package ID com.gilzoide.gradle-wrapper · Updated Apr 29, 2026
Install 0
Unity Compatibility
Unity 6 2023.2 2023.1 2022.3 LTS 2021.3 LTS 2020.3 LTS 2019.4 LTS

README

Rendered from GitHub

Gradle Wrapper Generator

openupm

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:

openupm add com.gilzoide.gradle-wrapper

Otherwise, you can install via Unity Package Manager using this repository URL and tag:

https://github.com/gilzoide/unity-gradle-wrapper.git#1.1.2

Alternatively, add the following into your Packages/manifest.json file:

{
  "dependencies": {
// ...
    "com.gilzoide.gradle-wrapper": "https://github.com/gilzoide/unity-gradle-wrapper.git#1.1.2",
// ...
  }
}

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 that, when dealing with multiple projects, chances are not all of them need the same version of Gradle.

With gradlew, all you need to do is run it, either from Android Studio or from the console - the wrapper will take care of downloading and running the right version.

Versions 0

No versions tracked yet.

Dependencies 0

No dependencies.

Changelog 0 releases

No changelog entries yet. Run the admin Changelog & Version Scanner to pull from the repository's CHANGELOG.md.

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **Gradle Wrapper Generator** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/gradle-wrapper.git
```

[![pkglnk](https://www.pkglnk.dev/badge/gradle-wrapper.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/gradle-wrapper)
Embed badge README snippet
Markdown
[![pkglnk installs](https://www.pkglnk.dev/badge/gradle-wrapper.svg)](https://www.pkglnk.dev/pkg/gradle-wrapper)
HTML
<a href="https://www.pkglnk.dev/pkg/gradle-wrapper"><img src="https://www.pkglnk.dev/badge/gradle-wrapper.svg" alt="pkglnk installs"></a>
URL
https://www.pkglnk.dev/badge/gradle-wrapper.svg

Comments

No comments yet. Be the first!