Stay organized with collections
Save and categorize content based on your preferences.
AndroidBasePlugin
class AndroidBasePlugin : Plugin<Project>
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
|
Common plugin applied by all plugins.
|
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AndroidBasePlugin\n=================\n\n```\nclass AndroidBasePlugin : Plugin\u003cProject\u003e\n```\n\n|---|-----------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [com.android.build.gradle.api.AndroidBasePlugin](#) |\n\nCommon plugin applied by all plugins.\n\nThe purpose of this no-op plugin is to allow other plugin authors to determine if an Android\nplugin was applied.\n\nThis is tied to the 'com.android.base' plugin string.\n\nSummary\n-------\n\n| ### Public constructors ||\n|-------------------------------------------------------------------|---|\n| [\u003cinit\u003e](#%3Cinit%3E())`()` Common plugin applied by all plugins. |\n\n| ### Public methods ||\n|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [apply](#apply(org.gradle.api.Project))`(`project:` `[Project](https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html)`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### \\\u003cinit\\\u003e\n\n```\nAndroidBasePlugin()\n```\n\nCommon plugin applied by all plugins.\n\nThe purpose of this no-op plugin is to allow other plugin authors to determine if an Android\nplugin was applied.\n\nThis is tied to the 'com.android.base' plugin string.\n\nPublic methods\n--------------\n\n### apply\n\n```\nfun apply(project: Project): Unit\n```"]]