Skip to content

Commit 5c02624

Browse files
committed
update docs
1 parent 542162b commit 5c02624

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Documentation/guides/building-apps/build-items.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,20 @@ excluded from the final package. The default values are as follows
215215
<AndroidPackagingOptionsExclude Include="$([MSBuild]::Escape('*.kotlin_*')" />
216216
</ItemGroup>
217217
```
218+
218219
Items can use file blob characters for wildcards such as `*` and `?`.
219220
However these Items MUST use URL encoding or '$([MSBuild]::Escape(''))'.
220221
This is so MSBuild does not try to interpret them as actual file wildcards.
221222

223+
For example
224+
225+
```
226+
<ItemGroup>
227+
<AndroidPackagingOptionsExclude Include="%2A.foo_%2A" />
228+
<AndroidPackagingOptionsExclude Include="$([MSBuild]::Escape('*.foo')" />
229+
</ItemGroup>
230+
```
231+
222232
NOTE: `*`, `?` and `.` will be replaced in the `BuildApk` task with the
223233
appropriate file globs.
224234

@@ -243,9 +253,18 @@ included from the final package. The default values are as follows
243253
<AndroidPackagingOptionsInclude Include="$([MSBuild]::Escape('*.kotlin_builtins')" />
244254
</ItemGroup>
245255
```
256+
246257
Items can use file blob characters for wildcards such as `*` and `?`.
247258
However these Items MUST use URL encoding or '$([MSBuild]::Escape(''))'.
248259
This is so MSBuild does not try to interpret them as actual file wildcards.
260+
For example
261+
262+
```
263+
<ItemGroup>
264+
<AndroidPackagingOptionsInclude Include="%2A.foo_%2A" />
265+
<AndroidPackagingOptionsInclude Include="$([MSBuild]::Escape('*.foo')" />
266+
</ItemGroup>
267+
```
249268

250269
NOTE: `*`, `?` and `.` will be replaced in the `BuildApk` task with the
251270
appropriate file globs.

0 commit comments

Comments
 (0)