# AddPluginByName(string)

> Adds a plugin include: "include '{name}'".

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.5/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public Element AddPluginByName(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Plugin name.

### Returns

| Type                                                                       | Description       |
| -------------------------------------------------------------------------- | ----------------- |
| [Element](/engine/6000.5/script-reference/unity/android/gradle/element.md) | The added plugin. |
