-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Remove proguard submodule and use nupkg (#6983)
* Bump to Guardsquare/proguard@b4ab30a5 [v7.1.1] Bump from ProGuard v7.0.1 to v7.1.1. Changes: Guardsquare/proguard@912d149...b4ab30a Attempts to build proguard without a cache in place have been failing: FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':base:fatJar'. > Could not resolve all dependencies for configuration ':base:runtime'. > Could not resolve com.guardsquare:proguard-core:7.0.1. Required by: project :base > Could not resolve com.guardsquare:proguard-core:7.0.1. > Could not get resource 'https://jcenter.bintray.com/com/guardsquare/proguard-core/7.0.1/proguard-core-7.0.1.module'. > Could not GET 'https://jcenter.bintray.com/com/guardsquare/proguard-core/7.0.1/proguard-core-7.0.1.module'. > Read timed out Proguard v7.1.0 [moves from jcenter to Maven Central][0], which should fix this issue. [0]: Guardsquare/proguard@87000a4 * Remove proguard submodule, use nupkg * Remove external/proguard references * Fix line endings
- Loading branch information
Showing
12 changed files
with
21 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule proguard
deleted from
912d14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,27 @@ | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<_InputJar>$(PkgXamarin_Android_Proguard)\proguard\lib\proguard.jar</_InputJar> | ||
<_OutputJar>$(OutputPath)lib/proguard.jar</_OutputJar> | ||
<_InputBat>$(PkgXamarin_Android_Proguard)\proguard\\bin\proguard.bat</_InputBat> | ||
<_OutputBat>$(OutputPath)bin\proguard.bat</_OutputBat> | ||
<_InputSh>$(PkgXamarin_Android_Proguard)\proguard\bin\proguard.sh</_InputSh> | ||
<_OutputSh>$(OutputPath)bin/proguard.sh</_OutputSh> | ||
<_InputLicense>$(PkgXamarin_Android_Proguard)\proguard\license.md</_InputLicense> | ||
<_OutputLicense>$(OutputPath)license.md</_OutputLicense> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<_Inputs Include="$(_InputJar);$(_InputBat);$(_InputSh);$(_InputLicense)" /> | ||
<_Outputs Include="$(_OutputJar);$(_OutputBat);$(_OutputSh);$(_OutputLicense)" /> | ||
</ItemGroup> | ||
<Target Name="_BuildProGuard" | ||
<Target Name="_CopyProGuard" | ||
BeforeTargets="Build" | ||
Inputs="$(MSBuildThisFile)" | ||
Inputs="$(MSBuildThisFile);@(_Inputs)" | ||
Outputs="@(_Outputs)"> | ||
<Exec | ||
Command=""../gradlew" fatJar $(GradleArgs)" | ||
EnvironmentVariables="JAVA_HOME=$(Java8SdkDirectory);APP_HOME=$(GradleHome)" | ||
WorkingDirectory="$(ProGuardSourceFullPath)/base" | ||
/> | ||
<MakeDir Directories="$(OutputPath)" /> | ||
<Copy | ||
SourceFiles="../../external/proguard/lib/proguard.jar" | ||
DestinationFiles="$(_OutputJar)" | ||
/> | ||
<Copy | ||
SourceFiles="../../external/proguard/bin/proguard.bat" | ||
DestinationFiles="$(_OutputBat)" | ||
/> | ||
<Copy | ||
SourceFiles="../../external/proguard/bin/proguard.sh" | ||
DestinationFiles="$(_OutputSh)" | ||
/> | ||
<Copy | ||
SourceFiles="../../external/proguard/docs/md/license.md" | ||
DestinationFiles="$(_OutputLicense)" | ||
SourceFiles="@(_Inputs)" | ||
DestinationFiles="@(_Outputs)" | ||
/> | ||
<Touch Files="@(_Outputs)" /> | ||
</Target> | ||
<Target Name="_CleanProGuard" BeforeTargets="Clean"> | ||
<Delete Files="@(_Outputs)" /> | ||
<Exec | ||
Command=""$(GradleWPath)" clean $(GradleArgs)" | ||
EnvironmentVariables="JAVA_HOME=$(Java8SdkDirectory);APP_HOME=$(GradleHome)" | ||
WorkingDirectory="$(ProGuardSourceFullPath)/base" | ||
/> | ||
</Target> | ||
<Target Name="CoreCompile" /> | ||
</Project> |