{"id":14979937,"url":"https://github.com/vanniktech/gradle-maven-publish-plugin","last_synced_at":"2026-01-18T19:00:51.951Z","repository":{"id":38430961,"uuid":"134897701","full_name":"vanniktech/gradle-maven-publish-plugin","owner":"vanniktech","description":"A Gradle plugin that publishes your Android and Kotlin libraries, including sources and javadoc,  to Maven Central or any other Nexus instance.","archived":false,"fork":false,"pushed_at":"2026-01-11T09:48:14.000Z","size":2341,"stargazers_count":1654,"open_issues_count":54,"forks_count":135,"subscribers_count":15,"default_branch":"main","last_synced_at":"2026-01-11T14:59:51.359Z","etag":null,"topics":["android","gradle","gradle-plugin","java","kotlin","kotlin-multiplatform","maven","nexus","publishing"],"latest_commit_sha":null,"homepage":"https://vanniktech.github.io/gradle-maven-publish-plugin","language":"Kotlin","has_issues":true,"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/vanniktech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-25T19:40:02.000Z","updated_at":"2026-01-09T05:48:16.000Z","dependencies_parsed_at":"2026-01-18T19:00:44.055Z","dependency_job_id":null,"html_url":"https://github.com/vanniktech/gradle-maven-publish-plugin","commit_stats":{"total_commits":579,"total_committers":43,"mean_commits":"13.465116279069768","dds":0.533678756476684,"last_synced_commit":"2120808dddf8a3b6e93832f7ba17ea3071786c80"},"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"purl":"pkg:github/vanniktech/gradle-maven-publish-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanniktech%2Fgradle-maven-publish-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanniktech%2Fgradle-maven-publish-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanniktech%2Fgradle-maven-publish-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanniktech%2Fgradle-maven-publish-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanniktech","download_url":"https://codeload.github.com/vanniktech/gradle-maven-publish-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanniktech%2Fgradle-maven-publish-plugin/sbom","scorecard":{"id":404018,"data":{"date":"2025-08-11","repo":{"name":"github.com/vanniktech/gradle-maven-publish-plugin","commit":"0e87b561636151f15a8ee13514e441a06a65fde1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 5 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":3,"reason":"Found 7/22 approved changesets -- score normalized to 3","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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish-docs.yml:24","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/publish-release.yml:14","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-docs.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-release.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-snapshot.yml:1"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docs.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docs.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docs.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docs.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-release.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-snapshot.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-snapshot.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-snapshot.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-snapshot.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-snapshot.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/vanniktech/gradle-maven-publish-plugin/publish-snapshot.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish-docs.yml:45","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand 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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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/publish-release.yml:9"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T20:44:55.663Z","repository_id":38430961,"created_at":"2025-08-18T20:44:55.663Z","updated_at":"2025-08-18T20:44:55.663Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28548941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","gradle","gradle-plugin","java","kotlin","kotlin-multiplatform","maven","nexus","publishing"],"created_at":"2024-09-24T14:00:57.735Z","updated_at":"2026-01-18T19:00:51.942Z","avatar_url":"https://github.com/vanniktech.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# gradle-maven-publish-plugin\n\nGradle plugin that creates a `publish` task to automatically upload all of your Java, Kotlin or Android\nlibraries to any Maven instance. This plugin is based on [Chris Banes initial implementation](https://github.com/chrisbanes/gradle-mvn-push)\nand has been enhanced to add Kotlin support and keep up with the latest changes.\n\n# Setup\n\n- [Publishing open source projects to Maven Central](https://vanniktech.github.io/gradle-maven-publish-plugin/central/)\n- [Publishing to other Maven repositories](https://vanniktech.github.io/gradle-maven-publish-plugin/other/)\n\nFor modifying what is getting published see [configuring what to publish](https://vanniktech.github.io/gradle-maven-publish-plugin/what/).\n\nThere is also a [base plugin](https://vanniktech.github.io/gradle-maven-publish-plugin/base/) that doesn't apply any\ndefault configuration and allows the most customization.\n\n# Supported plugins\n\nThe output of the following Gradle plugins is supported to be published with this plugin:\n\n- `com.android.fused-library`\n- `com.android.kotlin.multiplatform.library`\n- `com.android.library`\n- `com.gradle.plugin-publish`\n- `java`\n- `java-gradle-plugin`\n- `java-library`\n- `java-platform`\n- `org.jetbrains.kotlin.jvm`\n- `org.jetbrains.kotlin.multiplatform`\n- `version-catalog`\n\n# Advantages over `maven-publish`\n\nGradle ships with the `maven-publish` and many other plugins like the Android Gradle Plugin or the Kotlin Multiplatform\nplugin directly integrate with, so why should you use this plugin?\n\n- **No need to know how publishing works for different project types**. AGP provides an API to configure publishing,\n  `java-library` too, Kotlin Multiplatform does most things automatically but not everything. This plugin configures\n  as much as possible on its  own.\n- **An unified approach for all kinds of projects**. Some parts require manual configuration and for those we provide an API\n  that works regardless of whether this is a Gradle plugin, an Android library or a Kotlin Multiplatform project. This\n  is especially useful for projects that combine multiple of these.\n- **Maven central integration**. The plugin makes it easy to configure publishing to Maven Central with dedicated\n  APIs to set it up and configure everything that is required. It also supports automatic releasing without requiring\n  any interaction with the web interface.\n- **In memory GPG signing keys**. Easily sign artifacts on CI by simply setting the required environment variables,\n  no extra setup required.\n- **Gradle property based config**. Easily configure the plugin with Gradle properties that will apply to all\n  subprojects\n\n# License\n\nCopyright (C) 2018 Vanniktech - Niklas Baudy\n\nLicensed under the Apache License, Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanniktech%2Fgradle-maven-publish-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanniktech%2Fgradle-maven-publish-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanniktech%2Fgradle-maven-publish-plugin/lists"}