1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00
fdroidserver/examples
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
..
config.py build: improve gradle experience 2018-07-11 11:49:46 +02:00
fdroid-icon.png move fdroid-icon.png to examples/ 2014-04-01 18:04:36 -04:00
makebuildserver.config.py makebuildserver: change mem default 2 GB 2017-10-25 14:13:35 +02:00
opensc-fdroid.cfg support repo signing with a key on a smartcard 2014-04-07 16:00:18 -04:00
public-read-only-s3-bucket-policy.json example file for public read only S3 bucket policy 2016-09-15 23:20:18 +02:00
template.yml using a "real category" as example 2017-07-15 17:22:18 +02:00