fix(gradle)

closes #4346
This commit is contained in:
Jacob Heider 2023-12-08 10:56:39 -05:00 committed by Jacob Heider
parent 6916ed4b3a
commit 32b903698c

View file

@ -1,23 +1,23 @@
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
versions:
url: https://services.gradle.org/distributions/
match: /gradle-\d+\.\d+\.\d+-all\.zip/
match: /gradle-\d+(\.\d+)*-all\.zip/
strip:
- /^gradle-/
- /-all\.zip/
dependencies:
openjdk.org: '*'
build:
working-directory: gradle-{{version}}
working-directory: gradle-{{version.raw}}
script:
- rm bin/*.bat
- find bin -name \*.bat -exec rm {} \;
- mkdir -p {{prefix}}
- mv bin docs lib src {{prefix}}/
provides:
- bin/gradle
test:
script:
- gradle --version | grep {{version}}
- gradle --version | grep {{version.marketing}}
- gradle build --no-daemon | grep "gradle works!"