Repositories
The C# definition of the repositories element in a gradle file.
Read time 2 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.Android.Gradle
- Assembly: Unity.Android.Gradle
- Inherits from: BaseBlock
- Implements: ICloneable
public sealed class Repositories : BaseBlock, ICloneable
Remarks
Configures the repositories for this project. For more information about the file, see Android's documentation: Remote repositories
Static Fields
Value | Description |
|---|---|
Google reppsitory | |
| GradlePluginPortal | GradlePluginPortal reppsitory |
| JCenter | JCenter reppsitory |
| Maven | Maven reppsitory |
| MavenCentral | MavenCentral reppsitory |
Constructors
Constructor | Description |
|---|---|
| Repositories() | Element constructor. |
Methods
Method | Description |
|---|---|
| AddRepository | Adds a repository with value. |