Stay organized with collections Save and categorize content based on your preferences.

SingleArtifact.ASSETS

@Incubating object SingleArtifact.ASSETS : SingleArtifact, Artifact.Transformable, Artifact.Replaceable


Assets that will be packaged in the resulting APK or Bundle.

When used as an input, the content will be the merged assets. For the APK, the assets will be compressed before packaging.

To add new folders to ASSETS, you must use com.android.build.api.variant.Sources.assets

Summary

Inherited functions

From class com.android.build.api.artifact.Artifact
open String
String

Provide a unique name for the artifact type.

From class com.android.build.api.artifact.SingleArtifact