Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dependencies

The C# definition of the dependencies element in a gradle file.
Read time 2 minutesLast updated 10 days ago

Definition

public sealed class Dependencies : BaseBlock, ICloneable

Remarks

For more information about the element, see Android's documentation: dependencies

Constructors

Constructor

Description

Dependencies()Element constructor.

Methods

Method

Description

AddDependencyClasspathByNameAdds a depenency by classpath name.
AddDependencyImplementationByNameAdds a plugin implementation element with name: "implementation '{name}'".
AddDependencyImplementationFilesAdds a plugin implementation element with files: "implementation files({files})".
AddDependencyImplementationFileTreeAdds a plugin implementation element with fileTree: "implementation fileTree(':{name}')".
AddDependencyImplementationGroupAdds a plugin implementation element as group: "implementation group: '{namespace}', name: '{name}', version: '{version}'".
AddDependencyImplementationProjectAdds a plugin implementation element with project: "implementation project(':{name}')".
AddDependencyImplementationRawAdds a plugin implementation element with raw value: "implementation {value}".
AddDependencyPluginAdds a plugin as a dependency.

Inheritance