Commit c07d24c9 authored by Geoffrey Métais's avatar Geoffrey Métais

Build sdk manager from github sources

parent bbb44279
......@@ -38,7 +38,7 @@ java-libs/appcompat/.project
gradle.properties
gradlew.bat
gradlew
gradle/wrapper/
gradle/
.gradle/
build/
vlc-android/build/
......
......@@ -99,6 +99,28 @@ if [ ! -d "gradle/wrapper" ]; then
rm -rf gradle-${GRADLE_VERSION}-all.zip gradle-${GRADLE_VERSION}
fi
###############
# SDK Manager #
###############
if [ ! -f "gradle/plugins/sdk-manager-plugin.jar" ]; then
cd gradle/
if [ -d "sdk-manager-plugin" ]; then
rm -rf sdk-manager-plugin
fi
git clone https://github.com/JakeWharton/sdk-manager-plugin.git
cd sdk-manager-plugin
git reset --hard 1d29782dd6ffa18880c8cbada748fb3dea45e7be
./gradlew assemble
cd ..
if [ ! -d "plugins" ]; then
mkdir plugins
fi
mv sdk-manager-plugin/build/libs/sdk-manager-plugin-1.5.0-SNAPSHOT.jar plugins/sdk-manager-plugin.jar
rm -rf sdk-manager-plugin
cd ..
fi
####################
# Configure gradle #
####################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment