mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
7e56fa472b
v7.6.4 doesn't support jdk20 closes #5117
23 lines
608 B
YAML
23 lines
608 B
YAML
distributable:
|
|
url: https://services.gradle.org/distributions/gradle-{{version.raw}}-all.zip
|
|
strip-components: 1
|
|
versions:
|
|
url: https://services.gradle.org/distributions/
|
|
match: /gradle-\d+(\.\d+)*-all\.zip/
|
|
strip:
|
|
- /^gradle-/
|
|
- /-all\.zip/
|
|
dependencies:
|
|
openjdk.org: <20
|
|
build:
|
|
working-directory: gradle-{{version.raw}}
|
|
script:
|
|
- find bin -name \*.bat -exec rm {} \;
|
|
- mkdir -p {{prefix}}
|
|
- mv bin docs lib src {{prefix}}/
|
|
provides:
|
|
- bin/gradle
|
|
test:
|
|
script:
|
|
- gradle --version | grep {{version.marketing}}
|
|
- gradle build --no-daemon | grep "gradle works!"
|