2023-07-31 01:36:43 +03:00
|
|
|
distributable:
|
2023-12-08 18:56:39 +03:00
|
|
|
url: https://services.gradle.org/distributions/gradle-{{version.raw}}-all.zip
|
2023-07-31 01:36:43 +03:00
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
url: https://services.gradle.org/distributions/
|
2023-12-08 18:56:39 +03:00
|
|
|
match: /gradle-\d+(\.\d+)*-all\.zip/
|
2023-07-31 01:36:43 +03:00
|
|
|
strip:
|
|
|
|
- /^gradle-/
|
|
|
|
- /-all\.zip/
|
|
|
|
dependencies:
|
|
|
|
openjdk.org: '*'
|
|
|
|
build:
|
2023-12-08 18:56:39 +03:00
|
|
|
working-directory: gradle-{{version.raw}}
|
2023-07-31 01:36:43 +03:00
|
|
|
script:
|
2023-12-08 18:56:39 +03:00
|
|
|
- find bin -name \*.bat -exec rm {} \;
|
2023-07-31 01:36:43 +03:00
|
|
|
- mkdir -p {{prefix}}
|
|
|
|
- mv bin docs lib src {{prefix}}/
|
|
|
|
provides:
|
|
|
|
- bin/gradle
|
|
|
|
test:
|
|
|
|
script:
|
2023-12-08 18:56:39 +03:00
|
|
|
- gradle --version | grep {{version.marketing}}
|
2023-07-31 01:36:43 +03:00
|
|
|
- gradle build --no-daemon | grep "gradle works!"
|