Unity - Scripting API: Repositories
class in Unity.Android.Gradle
/
Inherits from:Unity.Android.Gradle.BaseBlock
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
The C# definition of the repositories element in a gradle file.
Configures the repositories for this project. For more information about the file, see Android's documentation: Remote repositories
Static Properties
| Property | Description |
|---|---|
| Google reppsitory google(). | |
| GradlePluginPortal | GradlePluginPortal reppsitory gradlePluginPortal(). |
| JCenter | JCenter reppsitory jcenter(). |
| Maven | Maven reppsitory maven(). |
| MavenCentral | MavenCentral reppsitory mavenCentral(). |
Constructors
| Constructor | Description |
|---|---|
| Repositories | Element constructor. |
Public Methods
| Method | Description |
|---|---|
| AddRepository | Adds a repository with value. |