mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
6916ed4b3a
commit
32b903698c
1 changed files with 5 additions and 5 deletions
|
@ -1,23 +1,23 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://services.gradle.org/distributions/gradle-{{version}}-all.zip
|
url: https://services.gradle.org/distributions/gradle-{{version.raw}}-all.zip
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
versions:
|
versions:
|
||||||
url: https://services.gradle.org/distributions/
|
url: https://services.gradle.org/distributions/
|
||||||
match: /gradle-\d+\.\d+\.\d+-all\.zip/
|
match: /gradle-\d+(\.\d+)*-all\.zip/
|
||||||
strip:
|
strip:
|
||||||
- /^gradle-/
|
- /^gradle-/
|
||||||
- /-all\.zip/
|
- /-all\.zip/
|
||||||
dependencies:
|
dependencies:
|
||||||
openjdk.org: '*'
|
openjdk.org: '*'
|
||||||
build:
|
build:
|
||||||
working-directory: gradle-{{version}}
|
working-directory: gradle-{{version.raw}}
|
||||||
script:
|
script:
|
||||||
- rm bin/*.bat
|
- find bin -name \*.bat -exec rm {} \;
|
||||||
- mkdir -p {{prefix}}
|
- mkdir -p {{prefix}}
|
||||||
- mv bin docs lib src {{prefix}}/
|
- mv bin docs lib src {{prefix}}/
|
||||||
provides:
|
provides:
|
||||||
- bin/gradle
|
- bin/gradle
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- gradle --version | grep {{version}}
|
- gradle --version | grep {{version.marketing}}
|
||||||
- gradle build --no-daemon | grep "gradle works!"
|
- gradle build --no-daemon | grep "gradle works!"
|
||||||
|
|
Loading…
Reference in a new issue