{"id":13470370,"url":"https://github.com/apache/groovy","last_synced_at":"2025-09-09T20:52:45.745Z","repository":{"id":30485584,"uuid":"34039690","full_name":"apache/groovy","owner":"apache","description":"Apache Groovy: A powerful multi-faceted programming language for the JVM platform","archived":false,"fork":false,"pushed_at":"2025-09-01T14:00:24.000Z","size":231149,"stargazers_count":5351,"open_issues_count":13,"forks_count":1906,"subscribers_count":230,"default_branch":"master","last_synced_at":"2025-09-01T15:32:23.187Z","etag":null,"topics":["apache","compiler","dynamic-typing","functional-programming","groovy","jvm-languages","metaprogramming","programming-language","static-typing"],"latest_commit_sha":null,"homepage":"https://groovy-lang.org","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-04-16T07:00:05.000Z","updated_at":"2025-09-01T13:57:23.000Z","dependencies_parsed_at":"2023-01-14T17:15:52.524Z","dependency_job_id":"42c0b61f-0d3b-4baa-bc46-3e0c8980b431","html_url":"https://github.com/apache/groovy","commit_stats":{"total_commits":20396,"total_committers":476,"mean_commits":42.84873949579832,"dds":0.7305844283192783,"last_synced_commit":"d557f2729ec00865455f47c30eba9b3d03c25aea"},"previous_names":[],"tags_count":290,"template":false,"template_full_name":null,"purl":"pkg:github/apache/groovy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fgroovy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fgroovy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fgroovy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fgroovy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/groovy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fgroovy/sbom","scorecard":{"id":201409,"data":{"date":"2025-08-11","repo":{"name":"github.com/apache/groovy","commit":"d2ffe2a3bd7e726a111716a608333c76d2446411"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.2,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:25","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:26","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/gradle-wrapper-validation.yml:31","Info: topLevel 'contents' permission set to 'read': .github/workflows/grails-joint-validation.yml:32","Info: topLevel 'contents' permission set to 'read': .github/workflows/groovy-build-artifacts.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/groovy-build-coverage.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/groovy-build-dist.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/groovy-build-test.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/groovy-rat-check.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/micronaut-joint-validation.yml:27","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/groovy-build-artifacts.yml:24"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: src/bin/grape_completion:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: src/bin/groovyConsole_completion:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: src/bin/groovy_completion:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: src/bin/groovyc_completion:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: src/bin/groovydoc_completion:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: src/bin/groovysh_completion:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gradle-wrapper-validation.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/gradle-wrapper-validation.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gradle-wrapper-validation.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/gradle-wrapper-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/grails-joint-validation.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/grails-joint-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/grails-joint-validation.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/grails-joint-validation.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/grails-joint-validation.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/grails-joint-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-artifacts.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-artifacts.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-artifacts.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-artifacts.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-artifacts.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-artifacts.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-coverage.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-coverage.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-coverage.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-coverage.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/groovy-build-coverage.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-coverage.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/groovy-build-coverage.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-coverage.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-dist.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-dist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-build-test.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-rat-check.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-rat-check.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/groovy-rat-check.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-rat-check.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/groovy-rat-check.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/groovy-rat-check.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/micronaut-joint-validation.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/micronaut-joint-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/micronaut-joint-validation.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/micronaut-joint-validation.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/micronaut-joint-validation.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/groovy/micronaut-joint-validation.yml/master?enable=pin","Info:   0 out of  32 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-q446-82vq-w674","Warn: Project is vulnerable to: GHSA-hfq9-hggm-c56q","Warn: Project is vulnerable to: GHSA-wxr5-93ph-8wr9","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-2qrg-x229-3v8q","Warn: Project is vulnerable to: GHSA-65fg-84f6-3jq3","Warn: Project is vulnerable to: GHSA-f7vh-qwp3-x37m","Warn: Project is vulnerable to: GHSA-fp5r-v3w9-4333","Warn: Project is vulnerable to: GHSA-w9p3-5cr8-m3jj","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v","Warn: Project is vulnerable to: GHSA-rcjj-h6gh-jf3r"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1","Warn: binary detected: subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/commons-lang3-3.18.0.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}}]},"last_synced_at":"2025-08-16T22:54:18.131Z","repository_id":30485584,"created_at":"2025-08-16T22:54:18.132Z","updated_at":"2025-08-16T22:54:18.132Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274360026,"owners_count":25270900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","compiler","dynamic-typing","functional-programming","groovy","jvm-languages","metaprogramming","programming-language","static-typing"],"created_at":"2024-07-31T16:00:29.297Z","updated_at":"2025-09-09T20:52:45.737Z","avatar_url":"https://github.com/apache.png","language":"Java","readme":"//////////////////////////////////////////\n\n  Licensed to the Apache Software Foundation (ASF) under one\n  or more contributor license agreements.  See the NOTICE file\n  distributed with this work for additional information\n  regarding copyright ownership.  The ASF licenses this file\n  to you under the Apache License, Version 2.0 (the\n  \"License\"); you may not use this file except in compliance\n  with the License.  You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing,\n  software distributed under the License is distributed on an\n  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n  KIND, either express or implied.  See the License for the\n  specific language governing permissions and limitations\n  under the License.\n\n//////////////////////////////////////////\n\n= Apache Groovy\nThe Groovy development team\n:revdate: 24-02-2014\n:build-icon: https://ci.groovy-lang.org/app/rest/builds/buildType:(id:MasterTestJdk11)/statusIcon\n:github-build-icon: https://github.com/apache/groovy/actions/workflows/groovy-build-test.yml/badge.svg?branch=master\n:sonarcloud-icon: https://sonarcloud.io/api/project_badges/measure?project=apache_groovy\u0026metric=sqale_rating\n:noheader:\n:groovy-www: https://groovy-lang.org/\n:groovy-ci: https://ci.groovy-lang.org?guest=1\n:github-ci: https://github.com/apache/groovy/actions?query=branch%3Amaster\n:sonarcloud: https://sonarcloud.io/dashboard?id=apache_groovy\n:jdk: https://www.oracle.com/technetwork/java/javase/downloads\n:codecov: https://codecov.io/gh/apache/groovy\n//:bintray-latest-version-image: https://api.bintray.com/packages/groovy/maven/groovy/images/download.png\n//:bintray-latest-version-link: https://bintray.com/groovy/maven/groovy/_latestVersion\n:apache-license-icon: https://img.shields.io/badge/license-APL2-blue.svg\n:apache-license-link: https://www.apache.org/licenses/LICENSE-2.0.txt\n:apache-groovy-twitter-icon: https://img.shields.io/twitter/follow/ApacheGroovy.svg?style=social\n:apache-groovy-twitter-link: https://twitter.com/intent/follow?screen_name=ApacheGroovy\n:jdk-icon: https://img.shields.io/badge/java-17+-4c7e9f.svg\n:codecov-icon: https://codecov.io/gh/apache/groovy/branch/master/graph/badge.svg\n//:bintray-download-icon: https://api.bintray.com/packages/groovy/maven/groovy/images/download.svg\n:opencollective-link: https://opencollective.com/friends-of-groovy\n:sponsors-silver-img: https://opencollective.com/friends-of-groovy/tiers/silver-sponsor.svg?avatarHeight=45\u0026width=890\n:sponsors-bronze-img: https://opencollective.com/friends-of-groovy/tiers/bronze-sponsor.svg?avatarHeight=40\u0026width=890\n:backers-monthly-img: https://opencollective.com/friends-of-groovy/tiers/backer.svg?avatarHeight=36\u0026width=890\n:backers-all-img: https://opencollective.com/friends-of-groovy/backers.svg?avatarHeight=32\u0026width=890\n\n\n[.left.text-left]\nimage::https://raw.githubusercontent.com/groovy/artwork/master/medium.png[]\nimage:{jdk-icon}[jdk, link={jdk}]\nimage:{apache-license-icon}[Apache License 2, link={apache-license-link}]\n// image:{build-icon}[teamcity build status, link={groovy-ci}]\nimage:{github-build-icon}[github build status, link={github-ci}]\nimage:{codecov-icon}[codecov, link={codecov}]\n// image:{sonarcloud-icon}[maintainability rating, link={sonarcloud}]\n// image:{bintray-download-icon}[bintray download, link={bintray-latest-version-link}]\nimage:{apache-groovy-twitter-icon}[follow on Twitter, link={apache-groovy-twitter-link}]\n\n{groovy-www}[Groovy] is a powerful multi-faceted programming language for the JVM platform.\nIt supports a spectrum of programming styles incorporating features from dynamic languages such as optional and duck typing, but also\nstatic compilation and static type checking at levels similar to or greater than Java through its extensible static type checker.\nIt aims to greatly increase developer productivity with many powerful features but also a concise, familiar and easy to learn syntax.\n\nIt integrates smoothly with any Java class or library, and immediately delivers to your application powerful capabilities,\nincluding scripting support, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.\n\n== Downloading\n\nDistribution links are on the https://groovy.apache.org/download.html[download] page.\n\nMaven, Gradle and Ivy dependency declaration snippets are available on specific files of a particular module.\n\n== Obtaining the Source\n\nYou don't need the source code to use Apache Groovy but if you wish to explore its inner workings or build it for yourself\nthere are two ways to obtain the source files.\n\n=== Checking out from Version Control\n\nApache Groovy uses Git. The official Git repository is at:\n\n    https://gitbox.apache.org/repos/asf/groovy.git\n\nAnd a mirror is hosted on GitHub:\n\n    https://github.com/apache/groovy\n\nThe GitHub mirror is read-only and provides convenience to users and developers to explore the code and for the\ncommunity to accept contributions via GitHub Pull Requests.\n\nSimply `git clone` the repo (or the repo you forked via the GitHub website) and you will have the complete source.\n\n=== Unpacking the src distribution\n\nAlternatively, you can download the source distribution and unpack it.\n\nIf obtaining the source from the source distribution and you intend to build from source,\nyou also need to https://gradle.org/downloads/[download] and install https://gradle.org/[Gradle] and\nuse it to execute one bootstrap step.\n\n==== Bootstrapping Gradle\n\nAs mentioned in the previous paragraph, if you download the source distribution\nyou need to bootstrap Gradle. This isn't needed if you clone from the GitHub repo.\n\nEach version of Groovy is built and tested using a specific version of Gradle.\nThat version is specified by the `gradle_version` property defined in the `gradle.properties`\nfile within the root directory. Luckily you shouldn't need to know that version and,\nafter bootstrapping, you should use the `gradlew` command which will ensure the\ncorrect version is always used.\n\nThe version of Gradle used for the bootstrap step has some flexibility though in general\nyou might need to download a version similar to the version of Groovy the build is\nexpecting.\n\nTo bootstrap Gradle, at the top directory of your unpacked source, run the command:\n\n    gradle -p bootstrap\n\n[NOTE]\nAt this point, the Gradle wrapper should be set up and from now on you should use\nthe `gradlew` command instead of `gradle`. (On Unix-like systems, use `./gradlew`).\n\n== Building from Source\n\n// Build is image:{build-icon}[build status, link={groovy-ci}].\n\nTo build you will need:\n\n* {jdk}[JDK 17+]\n\nTo build everything using Gradle, use the following command (`./gradlew` on Unix-like systems):\n\n    gradlew clean dist\n\n[NOTE]\nThe gradlew command automatically downloads the correct Gradle version if needed, you do not need to download it first.\n\nThis will generate a distribution similar to the zip you can download on the Groovy download page.\n\nTo build everything and launch unit tests, use:\n\n    gradlew test\n\nIf you want to launch one unit test, use this. \u003cTestClassName\u003e is like `groovy.GroovyMethodsTest`.\n\n    gradlew :test --tests \u003cTestClassName\u003e\n\nTo build from IntelliJ IDEA:\n\n    gradlew jar idea\n\nThen open the generated project in IDEA.\n\nTo build from Eclipse:\n\n    gradlew jar eclipse\n\nThen open the generated project and the generated subprojects in Eclipse. But be aware that Eclipse tends to be more limited in its ability to reproduce a Gradle build structure. The generated project files may contain a circular dependency which may or may not prevent Eclipse from using them. It depends on the Eclipse version, if this is an issue or not.\n\nTo build the documentation (Groovy Language Documentation):\n\n    gradlew asciidoc\n\nAll code samples of the documentation guide are pulled from actual test cases. To run a single documentation test case, take for example `src/spec/test/semantics/PowerAssertTest.groovy`\n\n    gradlew testSinglePowerAssertTest\n\n[NOTE]\nThe omission of package name: class is `semantics.PowerAssertTest` but only `PowerAssertTest` is added to `testSingle`.\n\n== Verifying dependencies\nTo generate the missing verification metadata when add/bump dependencies:\n\n    gradlew --write-verification-metadata pgp,sha512 --dry-run\n\nthen compare `verification-metadata.xml` with the generated `verification-metadata.dryrun.xml`, and merge the missing verification metadata into `verification-metadata.xml`\nafter the result of the above operation is reviewed.\n\n== Continuous Integration Server\n\nThe official CI server runs {groovy-ci}[here] and is sponsored by https://www.jetbrains.com[JetBrains].\n\n== Java Profiler\n\nGroovy core team tunes performance through YourKit Java Profiler, which is sponsored by https://www.yourkit.com[YourKit].\n\n== Friends of Groovy Open Collective\n\nAs an independent initiative, community members have set up an open collective for Groovy:\n\nhttps://opencollective.com/friends-of-groovy\n\nThis initiative is designed to complement the Apache project and the many contributions we get from our great community and supporters.\n\n* Thank you to our Silver Sponsors:\n\nimage:{sponsors-silver-img}[]\n\n* Thank you to our Bronze Sponsors:\n\nimage:{sponsors-bronze-img}[]\n\n* Thank you to our backers (donating monthly):\n\nimage:{backers-monthly-img}[]\n\n* Thank you to all our backers:\n\nimage:{backers-all-img}[]\n\n== License\n\nGroovy is licensed under the terms of the http://www.apache.org/licenses/LICENSE-2.0.html[Apache License, Version 2.0]\n\n","funding_links":["https://opencollective.com/friends-of-groovy"],"categories":["Java","Uncategorized","JVM语言","VI. Program languages and applications that were written with Java","Official Resources"],"sub_categories":["Uncategorized","1.  Program languages that were written with Java"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fgroovy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fgroovy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fgroovy/lists"}