Packaging
The C# definition of the packaging element in a gradle file.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: Unity.Android.Gradle
- Assembly: Unity.Android.Gradle
- Inherits from: BaseBlock
- Implements: ICloneable
public class Packaging : BaseBlock, ICloneable
Remarks
For more information about the file, see Android's documentation: Packaging
Constructors
Constructor | Description |
|---|---|
| Packaging() | Element constructor. |
Properties
Property | Description |
|---|---|
| JniLibs | Packaging options for native library (.so) files. |
Methods
Method | Description |
|---|---|
| AddDoNotStrip | Adds a "doNotStrip {value}" property. |
| AddExclude | Adds an "exclude {value}" property. |
| AddMerge | Adds a "merge {value}" property. |
| AddPickFirst | Adds a "pickFirst {value}" property. |
| GetDoNotStripList | Gets all "doNotStrip" properties. |
| GetDoNotStripProperty | Gets a "doNotStrip" property by value. |
| GetExcludeList | Gets all "exclude" properties. |
| GetExcludeProperty | Gets an "exclude" property by value. |
| GetMergeList | Gets all "merge" properties. |
| GetMergeProperty | Gets a "merge" property by value. |
| GetPickFirstList | Gets all "pickFirst" properties. |
| GetPickFirstProperty | Gets a "pickFirst" property by value. |
| RemoveDoNotStrip | Removes all "doNotStrip" properties with given value. |
| RemoveExclude | Removes all "exclude" properties with given value. |
| RemoveMerge | Removes all "merge" properties with given value. |
| RemovePickFirst | Removes all "pickFirst" properties with given value. |