{"id":20717737,"url":"https://github.com/vmj/gradle-download-worker","last_synced_at":"2026-01-22T08:33:19.033Z","repository":{"id":57731304,"uuid":"100432215","full_name":"vmj/gradle-download-worker","owner":"vmj","description":"A parallel download task type for Gradle","archived":false,"fork":false,"pushed_at":"2024-05-26T17:59:32.000Z","size":182,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T13:39:01.015Z","etag":null,"topics":["download","get","gradle","gradle-plugin","groovy","groovy-language","http","parallel","worker"],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmj.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-16T00:56:23.000Z","updated_at":"2024-05-26T17:59:36.000Z","dependencies_parsed_at":"2025-04-23T13:39:02.722Z","dependency_job_id":"13579776-af07-424a-b4ad-74795a38bb39","html_url":"https://github.com/vmj/gradle-download-worker","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vmj/gradle-download-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fgradle-download-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fgradle-download-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fgradle-download-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fgradle-download-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmj","download_url":"https://codeload.github.com/vmj/gradle-download-worker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fgradle-download-worker/sbom","scorecard":{"id":925826,"data":{"date":"2025-08-04","repo":{"name":"github.com/vmj/gradle-download-worker","commit":"d4a60b92ee1c1e911db36ba4a85069e0ec2f3eab"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/26 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-25T12:04:41.987Z","repository_id":57731304,"created_at":"2025-08-25T12:04:41.988Z","updated_at":"2025-08-25T12:04:41.988Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28659518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["download","get","gradle","gradle-plugin","groovy","groovy-language","http","parallel","worker"],"created_at":"2024-11-17T03:09:59.277Z","updated_at":"2026-01-22T08:33:19.018Z","avatar_url":"https://github.com/vmj.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"= A parallel download task type for Gradle\n\nimage:https://travis-ci.org/vmj/gradle-download-worker.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/vmj/gradle-download-worker\"]\n\nThis Gradle plugin implements a parallel download task type.\n\nThe releases are available via\nhttps://search.maven.org/artifact/fi.linuxbox.gradle/gradle-download/0.6/jar[Maven Central],\nhttps://bintray.com/bintray/jcenter/fi.linuxbox.gradle%3Agradle-download[Bintray], and\nhttps://plugins.gradle.org/plugin/fi.linuxbox.download[Gradle Plugin Portal].\n\nPlugin version 0.7 requires *Gradle 5.6 or newer* (tested up to 8.7).\nVersion 0.6 supports Gradle versions 5.0 - 7.6.\nIf you need to use older Gradle (down to 4.3), use version 0.5 of the plugin.\n\n== Usage\n\nBasic usage is as follows:\n\n[source,groovy]\n----\nplugins {\n    id 'fi.linuxbox.download' version '0.7'\n}\n\nimport fi.linuxbox.gradle.download.Download\n\ntask(\"my-download\", type: Download) {\n    from 'https://www.google.com/robots.txt'\n    to \"$buildDir/robots.txt\"\n}\n----\n\nA more interesting example:\n\n[source,groovy]\n----\nplugins {\n    id 'fi.linuxbox.download' version '0.7'\n}\n\nimport fi.linuxbox.gradle.download.Download\n\nfinal downloadAll = tasks.register('downloadAll') {\n    group 'My tasks'\n    description 'Download all ChangeLogs'\n}\n\next {\n    mirror = 'http://ftp.osuosl.org/pub/slackware'\n    distroNames = ['slackware', 'slackware64']\n    distroVersions = ['13.0', '13.1', '13.37', '14.0', '14.1', '14.2']\n}\n\ndistroNames.each { final distroName -\u003e\n    distroVersions.each { final distroVersion -\u003e\n        final distro = \"$distroName-$distroVersion\"\n        final path = \"$distroName/$distroVersion\"\n\n        // Define a parallel download task for this distro version\n        final download = tasks.register(\"download-$distro-changelog\", Download) {\n            from \"$mirror/$distro/ChangeLog.txt\"\n            to \"$buildDir/changelogs/$path/ChangeLog.txt\"\n        }\n\n        // Just to demo the UP-TO-DATE functionality:\n        // even though the download task does some work (conditional GET)\n        // it doesn't necessarily touch the artifact.\n        // That allows Gradle to skip the copy task.\n        final copy = tasks.register(\"copy-$distro-changelog\", Copy) {\n            from download\n            into \"$buildDir/copies/$path/\"\n        }\n\n        downloadAll.configure {\n            dependsOn copy\n        }\n    }\n}\n----\n\nWith above build script, the first run of `gradle downloadAll` would download\nthe ChangeLog files in parallel.  Then it would copy each ChangeLog as\nsoon as it was downloaded, i.e. in parallel.\n\nThe second invocation of `gradle downloadAll` would finish pretty quickly,\nas the download task will make a conditional HTTP GET and,\nsince the ChangeLogs will not be updated,\ncopy tasks will report UP-TO-DATE.\n\n== Task Configuration\n\nThis download task can be configured with the following properties:\n\n.Configuration properties\n[cols=\"2,2,6\"]\n|===\n|Property | Default | Description\n\n|`from` | -\n| The HTTP or HTTPS URL from which to download.  This is mandatory\n\n|`to` | -\n| Destination file.  This is mandatory, and can be anything that is understood by the\nhttps://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:file(java.lang.Object)[Project.file(path)]\nmethod.\n\n|`connectTimeout` | 30000 (30 seconds)\n|Milliseconds before timing out the connection attempt. Set to zero to disable the timeout (infinite timeout).\n\n|`readTimeout` | 30000 (30 seconds)\n|Milliseconds before timing out the socket reading. Set to zero to disable the timeout (infinite timeout).\n\n|===\n\n\n== Programmatic usage (rarely needed)\n\nIn case you are using this project as a library dependency (perhaps as part of another Gradle plugin),\nin Gradle that would look like:\n\n[source,groovy]\n----\ndependencies {\n    compile 'fi.linuxbox.gradle:gradle-download:0.7'\n}\n----\n\nAnd a Maven equivalent is:\n\n[source,xml]\n----\n\u003cdependency\u003e\n  \u003cgroupId\u003efi.linuxbox.gradle\u003c/groupId\u003e\n  \u003cartifactId\u003egradle-download\u003c/artifactId\u003e\n  \u003cversion\u003e0.7\u003c/version\u003e\n\u003c/dependency\u003e\n----\n\nThis is relevant if you are applying the plugin via\nhttps://docs.gradle.org/current/javadoc/org/gradle/api/plugins/PluginContainer.html#apply-java.lang.Class-[PluginContainer.apply(Class)]\nmethod.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmj%2Fgradle-download-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmj%2Fgradle-download-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmj%2Fgradle-download-worker/lists"}