Unity - Scripting API: Repositories

class in Unity.Android.Gradle

/

Inherits from:Unity.Android.Gradle.BaseBlock

Suggest a change

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.

Close

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.

Close

Cancel

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
GoogleGoogle reppsitory google().
GradlePluginPortalGradlePluginPortal reppsitory gradlePluginPortal().
JCenterJCenter reppsitory jcenter().
MavenMaven reppsitory maven().
MavenCentralMavenCentral reppsitory mavenCentral().

Constructors

Constructor Description
RepositoriesElement constructor.

Public Methods

Method Description
AddRepositoryAdds a repository with value.

Inherited Members