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


@Incubating object ASSETS : MultipleArtifact<Directory>, Artifact.Appendable, 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.

When using OutOperationRequest.toAppendTo method is used to append assets for packaging, no handling is provided in case of conflicts. In other words, you cannot have conflicts when adding to the assets. If there can be conflicts, InAndOutDirectoryOperationRequest.toTransformMany should be used to process all inputs and handle the conflicts before writing out the transformed assets.