DependOn() public méthode

Adds a dependency to the project.
This method should be called for each library that is required. Transitive dependencies are processed so only directly referenced libraries need to be added.

The version string can be contain a trailing + to indicate " or greater". Trailing 0s are implied. For example:

1.0 means only version 1.0, but also matches 1.0.0.

1.2.3+ means version 1.2.3 or 1.2.4, etc. but not 1.3.

0+ means any version.

LATEST means the only the latest version.

public DependOn ( string group, string artifact, string version, string packageIds = null, string repositories = null ) : void
group string Group - the Group Id of the artiface
artifact string Artifact - Artifact Id
version string Version - the version constraint
packageIds string Optional list of Android SDK package identifiers.
repositories string List of additional repository directories to search for /// this artifact.
Résultat void
 /// <summary>
 /// Initializes static members of the <see cref="FuseSDKDependencies"/> class.
 /// </summary>
 static FuseSDKDependencies()
 {
     svcSupport = PlayServicesSupport.CreateInstance(PluginName, EditorPrefs.GetString("AndroidSdkRoot"), "ProjectSettings");
     svcSupport.ClearDependencies();
     svcSupport.DependOn("com.google.android.gms", "play-services-basement", "8.4.0");
     svcSupport.DependOn("com.android.support", "support-annotations", "23.4.0");
     svcSupport.DependOn("com.android.support", "support-v4", "23.4.0");
     svcSupport.DependOn("com.android.support", "recyclerview-v7", "23.4.0");
 }