mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
c2122cd4d0
* gradle.org * single mv --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
23 lines
568 B
YAML
23 lines
568 B
YAML
distributable:
|
|
url: https://services.gradle.org/distributions/gradle-{{version}}-all.zip
|
|
strip-components: 1
|
|
versions:
|
|
url: https://services.gradle.org/distributions/
|
|
match: /gradle-\d+\.\d+\.\d+-all\.zip/
|
|
strip:
|
|
- /^gradle-/
|
|
- /-all\.zip/
|
|
dependencies:
|
|
openjdk.org: '*'
|
|
build:
|
|
working-directory: gradle-{{version}}
|
|
script:
|
|
- rm bin/*.bat
|
|
- mkdir -p {{prefix}}
|
|
- mv bin docs lib src {{prefix}}/
|
|
provides:
|
|
- bin/gradle
|
|
test:
|
|
script:
|
|
- gradle --version | grep {{version}}
|
|
- gradle build --no-daemon | grep "gradle works!"
|