File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Documentation/guides/building-apps Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff 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+
218219Items can use file blob characters for wildcards such as ` * ` and ` ? ` .
219220However these Items MUST use URL encoding or '$([ MSBuild] ::Escape(''))'.
220221This 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+
222232NOTE: ` * ` , ` ? ` and ` . ` will be replaced in the ` BuildApk ` task with the
223233appropriate 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+
246257Items can use file blob characters for wildcards such as ` * ` and ` ? ` .
247258However these Items MUST use URL encoding or '$([ MSBuild] ::Escape(''))'.
248259This 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
250269NOTE: ` * ` , ` ? ` and ` . ` will be replaced in the ` BuildApk ` task with the
251270appropriate file globs.
You can’t perform that action at this time.
0 commit comments