# AndroidBasePlugin

# AndroidBasePlugin

```
class AndroidBasePlugin : Plugin<Project>
```

|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                 ||
| ↳ | [com.android.build.gradle.api.AndroidBasePlugin](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/gradle/api/AndroidBasePlugin#) |

Common plugin applied by all plugins.

The purpose of this no-op plugin is to allow other plugin authors to determine if an Android plugin was applied.

This is tied to the 'com.android.base' plugin string.

## Summary

|                                                                             ### Public constructors                                                                             ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [<init>](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/gradle/api/AndroidBasePlugin#%3Cinit%3E())`()` Common plugin applied by all plugins. |

|                                                                                                                                                           ### Public methods                                                                                                                                                           ||
|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [apply](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/gradle/api/AndroidBasePlugin#apply(org.gradle.api.Project))`(`project:` `[Project](https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html)`)` <br /> |

## Public constructors

### \<init\>

```
AndroidBasePlugin()
```

Common plugin applied by all plugins.

The purpose of this no-op plugin is to allow other plugin authors to determine if an Android plugin was applied.

This is tied to the 'com.android.base' plugin string.

## Public methods

### apply

```
fun apply(project: Project): Unit
```