1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 11:00:10 +01:00
fdroidserver/buildserver
Marcus Hoffmann 9889a98dea
build: improve gradle experience
This expands the gradle wrapper shell script used by the buildserver for
usage outside the buildserver environment. It also allows downloading
whitelisted versions of gradle if they are not yet deployed to the
buildserver by simply upsating the copy of fdroidserver (in contrast to
having to reprovision the whole buildserver).

We first move the buildserver/gradle shell script to the repo root
as gradlew-fdroid, as it's an fdroid specific gradle wrapper.
We also now sync it inside the build VM before each build.

We then add a list of whitelisted gradle distributions taken from the
makebuildserver script.

The script additionally now reads two env vars which tell it where to
expect installed versions of gradle and where it might store downloaded
gradle .zip files. Both of those are configurable from config.py. As the
first should normally just be a subdir of the second it's not exposed in
the example config.py but only used by the buildserver config.py.

Default config now uses this internal gradle wrapper but a path to a
custom wrapper or specific gradle distribution can still be set from
config.py.

Closes fdroid/fdroidserver#98
Ref: fdroid/fdroidserver#370
2018-07-11 11:49:46 +02:00
..
.gitignore buildserver: buildserver/Vagrantfile is configed by .yaml file 2016-07-04 23:54:52 +02:00
config.buildserver.py build: improve gradle experience 2018-07-11 11:49:46 +02:00
provision-android-ndk ndk17: add to extract whitelist 2018-07-04 14:30:15 +02:00
provision-android-sdk buildserver: include all Android SDK licenses in their exact format 2017-11-29 21:06:02 +01:00
provision-apt-get-install buildserver: include python3-git for future use 2018-01-26 10:18:41 +01:00
provision-apt-proxy buildserver: send config to vagrant via YAML file 2016-07-04 23:54:52 +02:00
provision-gradle build: improve gradle experience 2018-07-11 11:49:46 +02:00
provision-pip buildserver: make provision scripts output name to log 2016-07-04 23:54:52 +02:00
setup-env-vars never wait for SSH prompts when running git commands 2017-11-23 23:31:38 +01:00
Vagrantfile build: improve gradle experience 2018-07-11 11:49:46 +02:00