From be986237a5ea12686189e9639630b9d253f31fba Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 14 Aug 2023 04:12:11 +0300 Subject: [PATCH] groovy-lang.org (#2867) * groovy-lang.org * without jansi * JAVA_HOME * cleanup * simpler install * cp not install --------- Co-authored-by: Jacob Heider --- projects/groovy-lang.org/package.yml | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 projects/groovy-lang.org/package.yml diff --git a/projects/groovy-lang.org/package.yml b/projects/groovy-lang.org/package.yml new file mode 100644 index 00000000..7c7b68f2 --- /dev/null +++ b/projects/groovy-lang.org/package.yml @@ -0,0 +1,40 @@ +distributable: + url: https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-{{version}}.zip +versions: + url: https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/ + match: /apache-groovy-binary-\d+\.\d+\.\d+\.zip/ + strip: + - /^apache-groovy-binary-/ + - /\.zip/ +warnings: + - vendored +dependencies: + openjdk.org: '*' +runtime: + env: + GROOVY_HOME: "{{prefix}}" +build: + working-directory: groovy-{{version}} + script: + - rm bin/*.bat + - mkdir -p "{{prefix}}" + - cp -a bin conf lib "{{prefix}}" +provides: + - bin/grape + - bin/grape_completion + - bin/groovy + - bin/groovyc + - bin/groovyc_completion + - bin/groovy_completion + - bin/groovyConsole + - bin/groovyConsole_completion + - bin/groovydoc + - bin/groovydoc_completion + - bin/groovysh + - bin/groovysh_completion + - bin/java2groovy + - bin/startGroovy +test: + script: + - groovy --version | grep {{version}} + - grape install org.activiti activiti-engine 5.16.4 | grep "found org.activiti#activiti-engine;5.16.4"