1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-16 11:50:10 +01:00
Commit Graph

48 Commits

Author SHA1 Message Date
Marcus Hoffmann
394ad8f863 add gradle 6.6.1 2020-08-25 23:06:21 +02:00
Hans-Christoph Steiner
f8a1b45df5 gradlew-fdroid: fix random failures due to empty $line, closes #815 2020-08-19 16:28:58 +02:00
Marcus Hoffmann
c3c6a20b7c gradlew-fdroid: fix typo 6.5 -> 6.6 2020-08-11 19:04:19 +02:00
Marcus Hoffmann
d3e8766a3c add gradle 6.6 2020-08-11 09:13:20 +02:00
Hans-Christoph Steiner
2858c73b87 gradlew-fdroid: more robust method for handling Windows linefeeds
The bash pattern matching was getting confused by the Windows linefeeds,
this strips them before the string hits the bash pattern tricks.

* https://github.com/premnirmal/StockTicker/issues/145
2020-07-30 14:57:19 +02:00
xynngh
393f08ff25 Add gradle 6.5.1 2020-07-07 14:02:56 +04:00
Marcus Hoffmann
4c69411387 add gradle 6.5 2020-06-04 00:30:30 +02:00
Marcus
7eee72a342 Merge branch 'pile-o-2.0-bugfixes' into 'master'
Pile o' 2.0 bugfixes

Closes #719

See merge request fdroid/fdroidserver!753
2020-06-02 16:30:46 +00:00
Marcus Hoffmann
cfff954782 add AGP 4.0 2020-06-02 13:37:29 +02:00
Hans-Christoph Steiner
7a84679b0d gradlew-fdroid: fix parsing when files have Windows linefeeds
The new test file should have Windows linefeeds, if I got the git config
correct.
2020-05-29 21:55:10 +02:00
Marcus Hoffmann
e25b8a1933 add gradle 6.4.1 2020-05-17 02:58:30 +02:00
relan
99ef3a8626 Add Gradle 6.4 2020-05-08 10:30:28 +03:00
Marcus Hoffmann
3113b890b5 add gradle 6.3 2020-03-26 16:09:05 +01:00
Marcus Hoffmann
87e825bf3e add gradle 6.2.2 2020-03-10 16:58:41 +01:00
Marcus Hoffmann
b4720665b9 add gradle 6.2{,.1} and AGP 3.6 2020-02-25 12:46:47 +01:00
Marcus Hoffmann
9ae41cc1ff add support for gradle kotlin scripts
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
Closes fdroid/fdroidserver#613

cherry-picked from Bubu/fdroidserver@7d2e9f9c
2020-02-13 22:32:51 +01:00
Hans-Christoph Steiner
e049a120f8 Merge branch 'gradlew_no_eol' into 'master'
gradlew-fdroid: support parsing files with no EOL before EOF

See merge request fdroid/fdroidserver!707
2020-02-13 09:47:07 +00:00
Marcus Hoffmann
25de42055e gradlew-fdroid: update avaiable gradle versions and min versions 2020-02-05 20:21:33 +01:00
Hans-Christoph Steiner
77efdac41b
add Gradle 6.1.1 to gradlew-fdroid
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/710#note_282313001
missing from 84c7f4db9b
[skip ci]
2020-02-05 20:18:39 +01:00
Marcus Hoffmann
09db493557 gradlew-fdroid: support parsing files with no EOL before EOF
Fixes cases like: https://gitlab.com/fdroid/fdroiddata/merge_requests/6216#note_273985937
2020-01-21 11:15:51 +01:00
Licaon_Kter
33ddf944f3 Add Gradle 6.1 2020-01-19 18:46:52 +00:00
Licaon_Kter
d0449d9713 Gradle 6.0 & 6.0.1 2019-11-26 10:04:04 +00:00
Hans-Christoph Steiner
f7f9bea1f7
Gradle 5.6.4
https://gitlab.com/fdroid/fdroidserver/-/jobs/342228827
https://gradle.org/release-checksums/
2019-11-06 09:07:42 +01:00
Licaon_Kter
828d164fb2 Gradle 5.6.3 2019-10-30 20:41:21 +00:00
relan
932ab4a3c1 gradlew-fdroid: avoid sed
sed implementations (GNU sed vs. BSD sed) have variations in regex
syntax causing distributionUrl parsing to fail on macOS.
2019-09-23 07:12:17 +03:00
relan
944046b70b gradlew-fdroid: avoid associative arrays
macOS is shipped with bash-3.2 that does not support associative arrays.
2019-09-23 07:10:44 +03:00
osscontrib
ce5a25811a Add Gradle 5.6.1 and 5.6.2 2019-09-08 23:22:18 -04:00
Łukasz Rutkowski
16c1f69f7b Add Gradle 5.6 2019-08-23 18:20:40 +02:00
relan
24e0db1c83 Add Gradle 5.5.1 2019-07-21 18:20:25 +03:00
Thomas Wirth
48fce5f6be Add Gradle 5.5 2019-07-07 21:03:24 +02:00
Licaon_Kter
293e5483fc Add Gradle 5.4 and 5.4.1, fix 5.3 2019-04-30 17:59:13 +00:00
Taco
457cf22361 Added newer ndks, gradles, latest sdk-license, and update java 1.8 version 2019-03-30 17:10:21 -04:00
Marcus Hoffmann
40cf7311d0 add gradle 5.2 and 5.2.1
Only install 5.2.1 into the buildserver though. It took only 4 days
until 5.2.1 came out and gradle.org recommends using the latest patch
release.
2019-02-13 18:37:26 +01:00
relan
8e471ad856 gradlew-fdroid: fix multiple gradle-wrapper.properties parsing
Stop looking for the Gradle version if we found it via distributionUrl
in ./gradle/wrapper/gradle-wrapper.properties. If we go on to parsing
../gradle/wrapper/gradle-wrapper.properties, we'll erroneously get the
version from there.
2019-01-27 11:45:53 +03:00
Marcus Hoffmann
cf1a45eb4a add gradle plugin version 3.3 detection 2019-01-19 23:54:20 +01:00
relan
56620177aa makebuildserver: add Gradle 5.1 and 5.1.1 2019-01-16 07:25:25 +03:00
Marcus Hoffmann
e6388285fd add gradle 4.10.3 2018-12-23 18:07:20 +01:00
Marcus Hoffmann
8ac171ba1a add gradle 5.0
closes #594
2018-11-27 17:34:53 +01:00
relan
bf0501797f makebuildserver: add Gradle 4.10.2 2018-09-21 07:38:27 +03:00
Michael Pöhn
7c9c1d4aaf add gradle 4.10.1 to makebuildserver and gradlew-fdroid 2018-09-19 00:03:01 +02:00
Marcus Hoffmann
74776e026f gradlew-fdroid: add gradle 4.10 2018-09-03 14:47:36 +02:00
Marcus Hoffmann
91a7b91845 add gradle 4.9 2018-07-30 22:54:09 +02:00
Marcus Hoffmann
7023f372fd gradlew-fdroid: tabs -> spaces
We have everything indented with spaces. Don't make an exception for
shell scripts.
2018-07-13 17:02:48 +02:00
Marcus Hoffmann
03e9fe4b38 gradlew-fdroid: save downloads with proper name
This makes re-using them for makebuildserver possible
2018-07-13 17:01:14 +02:00
Marcus Hoffmann
51ef9a8a99 gradlew-fdroid; print which gradle binary is actually running 2018-07-13 17:00:45 +02:00
Marcus Hoffmann
19a017c88d gradlew-fdroid: don't print available versions
It's not really useful information and can be gathered from the used
fdroidserver commit in any case.
2018-07-13 16:03:38 +02:00
Marcus Hoffmann
377c50fc53 gradlew-fdroid: make sure cachedir exists
Closes fdroid/fdroidserver#519
2018-07-13 16:02:58 +02:00
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