mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
gradle.org (#2704)
* gradle.org * single mv --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
fe0330057a
commit
c2122cd4d0
3 changed files with 24 additions and 0 deletions
1
projects/gradle.org/build.gradle
Normal file
1
projects/gradle.org/build.gradle
Normal file
|
@ -0,0 +1 @@
|
|||
println "gradle works!"
|
23
projects/gradle.org/package.yml
Normal file
23
projects/gradle.org/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
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!"
|
0
projects/gradle.org/settings.gradle
Normal file
0
projects/gradle.org/settings.gradle
Normal file
Loading…
Reference in a new issue