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
215
215
<AndroidPackagingOptionsExclude Include="$([MSBuild]::Escape('*.kotlin_*')" />
216
216
</ItemGroup>
217
217
```
218
+
218
219
Items can use file blob characters for wildcards such as ` * ` and ` ? ` .
219
220
However these Items MUST use URL encoding or '$([ MSBuild] ::Escape(''))'.
220
221
This is so MSBuild does not try to interpret them as actual file wildcards.
221
222
223
+ For example
224
+
225
+ ```
226
+ <ItemGroup>
227
+ <AndroidPackagingOptionsExclude Include="%2A.foo_%2A" />
228
+ <AndroidPackagingOptionsExclude Include="$([MSBuild]::Escape('*.foo')" />
229
+ </ItemGroup>
230
+ ```
231
+
222
232
NOTE: ` * ` , ` ? ` and ` . ` will be replaced in the ` BuildApk ` task with the
223
233
appropriate file globs.
224
234
@@ -243,9 +253,18 @@ included from the final package. The default values are as follows
243
253
<AndroidPackagingOptionsInclude Include="$([MSBuild]::Escape('*.kotlin_builtins')" />
244
254
</ItemGroup>
245
255
```
256
+
246
257
Items can use file blob characters for wildcards such as ` * ` and ` ? ` .
247
258
However these Items MUST use URL encoding or '$([ MSBuild] ::Escape(''))'.
248
259
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
+ ```
249
268
250
269
NOTE: ` * ` , ` ? ` and ` . ` will be replaced in the ` BuildApk ` task with the
251
270
appropriate file globs.
You can’t perform that action at this time.
0 commit comments