diff --git a/projects/gradle.org/build.gradle b/projects/gradle.org/build.gradle new file mode 100644 index 0000000000..bd9f7b9928 --- /dev/null +++ b/projects/gradle.org/build.gradle @@ -0,0 +1 @@ +println "gradle works!" \ No newline at end of file diff --git a/projects/gradle.org/package.yml b/projects/gradle.org/package.yml new file mode 100644 index 0000000000..ae05c74406 --- /dev/null +++ b/projects/gradle.org/package.yml @@ -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!" diff --git a/projects/gradle.org/settings.gradle b/projects/gradle.org/settings.gradle new file mode 100644 index 0000000000..e69de29bb2