ApplicationSingleVariant

public interface ApplicationSingleVariant extends SingleVariant


Single variant publishing options for application projects.

Summary

Public methods

abstract void

Configure to publish this variant as APK artifact.

Inherited methods

From com.android.build.api.dsl.PublishingOptions
abstract void

Publish javadoc jar generated from java & kotlin source as a secondary artifact to a Maven repository.

abstract void

Publish java & kotlin sources jar as a secondary artifact to a Maven repository.

From com.android.build.api.dsl.SingleVariant

Public methods

publishApk

abstract void publishApk()

Configure to publish this variant as APK artifact. Android Gradle Plugin would publish this variant as AAB artifact if this function is not invoked.