Stay organized with collections
Save and categorize content based on your preferences.
ASSETS
@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.
Summary
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 2021-07-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-07-27 UTC."],[],[]]