mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Fix b315968b
(at least to the extent that it's now possible to make a buildserver again)
This commit is contained in:
parent
7eb8dfedc6
commit
c74bbdf5dc
@ -29,6 +29,17 @@ execute "add-android-home" do
|
||||
not_if "grep ANDROID_HOME /home/#{user}/.bsenv"
|
||||
end
|
||||
|
||||
execute "add-maven-support-repo" do
|
||||
user user
|
||||
command "mkdir /home/#{user}/.m2 && echo \"
|
||||
<settings><activeProfiles><activeProfile>android</activeProfile></activeProfiles>
|
||||
<profiles><profile><id>android</id><repositories><repository><id>android-support-repository</id>
|
||||
<url>file:///opt/android/sdk/extras/android/m2repository/</url>
|
||||
</repository></repositories></profile></profiles></settings>
|
||||
\" > /home/#{user}/.m2/settings.xml"
|
||||
not_if "grep m2repository /home/#{user}/.m2/settings.xml"
|
||||
end
|
||||
|
||||
%w{17.0.0 18.0.1}.each do |ver|
|
||||
|
||||
script "add_build_tools_#{ver}" do
|
||||
|
Loading…
Reference in New Issue
Block a user