androidartifacts / guru.stefma.androidartifacts.plugin / AndroidArtifactsPlugin

AndroidArtifactsPlugin

class AndroidArtifactsPlugin : Plugin<Project>

This Plugin will simplify the process to create publications for your Android Library.

It will generate for all available build types a new org.gradle.api.publish.Publication and set up some tasks (e.g. for packaging the javadoc or sources) for it.

This makes is very easily to publish your Android Library to the local maven repository.

Note: This will only do all the stuff when the com.android.library plugin is applied. Otherwise it does nothing!

Constructors

<init>

AndroidArtifactsPlugin()

This Plugin will simplify the process to create publications for your Android Library.

Functions

apply

fun apply(project: Project): Unit