{"id":20594809,"url":"https://github.com/ansman/sonatype-publish-fix","last_synced_at":"2025-04-14T23:33:15.578Z","repository":{"id":239043517,"uuid":"798351903","full_name":"ansman/sonatype-publish-fix","owner":"ansman","description":"A Gradle Plugin that prevents parallel publishing to maven repositories.","archived":false,"fork":false,"pushed_at":"2025-03-20T12:11:14.000Z","size":220,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T11:38:57.283Z","etag":null,"topics":["gradle","gradle-plugin","maven","sonatype"],"latest_commit_sha":null,"homepage":"","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/ansman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T15:51:13.000Z","updated_at":"2025-03-17T12:33:28.000Z","dependencies_parsed_at":"2024-05-09T17:27:02.439Z","dependency_job_id":"374b7291-ea2f-472e-b5d5-cb35a21a45b9","html_url":"https://github.com/ansman/sonatype-publish-fix","commit_stats":null,"previous_names":["ansman/sonatype-publish-fix"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fsonatype-publish-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fsonatype-publish-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fsonatype-publish-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fsonatype-publish-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansman","download_url":"https://codeload.github.com/ansman/sonatype-publish-fix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248979494,"owners_count":21192982,"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","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":["gradle","gradle-plugin","maven","sonatype"],"created_at":"2024-11-16T08:10:17.716Z","updated_at":"2025-04-14T23:33:15.552Z","avatar_url":"https://github.com/ansman.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sonatype Publish Fix [![Build Gradle](https://github.com/ansman/sonatype-publish-fix/actions/workflows/gradle.yml/badge.svg?branch=main)](https://github.com/ansman/sonatype-publish-fix/actions/workflows/gradle.yml) [![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v.svg?label=gradle\u0026metadataUrl=https%3A%2F%2Fplugins.gradle.org%2Fm2%2Fse%2Fansman%2Fsonatype-publish-fix%2Fmaven-metadata.xml)](https://plugins.gradle.org/plugin/se.ansman.sonatype-publish-fix)\n===\nWhen publishing to any sonatype repository, it's important to not publishing multiple artifacts in parallel. This is\noften done by using `--no-parallel` or `--max-workers` which slows down the build.\n\nThis plugin will limit the parallelism of the publication tasks to 1 when publishing to avoid this issue.\n\nFor the changelog see the [releases page](https://github.com/ansman/sonatype-publish-fix/releases).\n\nSetup\n---\nTo set it up, all you need to do is to apply the plugin:\n```kotlin\nplugins {\n    `maven-publish`\n    id(\"se.ansman.sonatype-publish-fix\") version \"1.0.0\"\n}\n```\n\nConfiguration\n---\nBy default, publications to all remote maven repos are limited. You can change this by using the extension:\n```kotlin\nplugins {\n    `maven-publish`\n    id(\"se.ansman.sonatype-publish-fix\") version \"1.0.0\"\n}\n\nsonatypePublishFix {\n    // Includes a repo, by default all repos are included\n    includeRepositoryNamed(\"sonatype\")\n    includeRepositoryWithUrl(\"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/\")\n    \n    // Excludes a repo\n    excludeRepositoryNamed(\"artifactory\")\n    excludeRepositoryWithUrl(\"https://artifactory.example.com/artifactory/libs-release-local/\")\n}\n```\n\nLicense\n---\nThis project is licensed under the Apache-2.0 license. See [LICENSE.txt](LICENSE.txt) for the full license.\n```plain\n\nCopyright 2024 Nicklas Ansman\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansman%2Fsonatype-publish-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansman%2Fsonatype-publish-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansman%2Fsonatype-publish-fix/lists"}