Commit 6123cca
[Xamarin.Android.Build.Tasks] Set PROGUARD_HOME on Windows (#550)
Context: d71dcc9
The `$PROGUARD_HOME` environment variable is used by the
`<CreateMultiDexMainDexClassList/>` task/`mainDexClasses` script to
specify the location of the `proguard` directory+script to use.
`$PROGUARD_HOME` is exported on Linux and macOS but not Windows
because the `proguard.bat` distributed with the Android SDK contained
a quoting bug:
java -jar "%PROGUARD_HOME%"\lib\proguard.jar %*
Starting with commit 59aff45, xamarin-android bundles its own
ProGuard binaries, which doesn't suffer from the above quoting bug.
Additionally, we want to use our bundled ProGuard, which necessitates
exporting the `%PROGUARD_HOME%` environment variable on Windows.
Export the `$PROGUARD_HOME` environment variable on all platforms.1 parent dfea975 commit 6123cca
File tree
1 file changed
+4
-3
lines changed- src/Xamarin.Android.Build.Tasks/Utilities
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| 473 | + | |
| 474 | + | |
473 | 475 | | |
474 | | - | |
475 | | - | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | | - | |
| 479 | + | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
0 commit comments