# AddDependencyImplementationFileTree

> Adds a plugin implementation element with fileTree: "implementation fileTree(':{name}')".

## Definition

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

## AddDependencyImplementationFileTree(string, string\[])

Adds a plugin implementation element with fileTree: "implementation fileTree(':\{name}')".

```csharp
public Element AddDependencyImplementationFileTree(string dir, string[] includeFilter)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Files to search directory.**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): Array of filters.

### Returns

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

## AddDependencyImplementationFileTree(string, string\[], string\[])

Adds a plugin implementation element with fileTree: "implementation fileTree(':\{name}')".

```csharp
public Element AddDependencyImplementationFileTree(string dir, string[] includeFilter, string[] excludeFilter)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Files to search directory.**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): Array of filters.**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

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