mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-12 18:20:29 +03:00
Update android sdk version
Install version 25 now. Also use the smaller tools zip. While at it, also remove the tools re-install - it's not worth it, as long as we keep the initial tools zip up to date.
This commit is contained in:
parent
1edd9cde3c
commit
d5d22dbc99
2 changed files with 8 additions and 6 deletions
|
|
@ -8,8 +8,11 @@ script "setup-android-sdk" do
|
|||
user user
|
||||
cwd "/tmp"
|
||||
code "
|
||||
tar zxvf /vagrant/cache/android-sdk_r24.4.1-linux.tgz
|
||||
mv android-sdk-linux #{sdk_loc}
|
||||
unzip /vagrant/cache/android-sdk-tools.zip
|
||||
mkdir #{sdk_loc}
|
||||
mkdir #{sdk_loc}/platforms
|
||||
mkdir #{sdk_loc}/build-tools
|
||||
mv tools #{sdk_loc}/
|
||||
"
|
||||
not_if "test -d #{sdk_loc}"
|
||||
end
|
||||
|
|
@ -30,7 +33,6 @@ execute "add-android-sdk-path" do
|
|||
end
|
||||
|
||||
%w{
|
||||
tools
|
||||
platform-tools
|
||||
extra-android-support
|
||||
extra-android-m2repository
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue