{"id":36418718,"url":"https://github.com/wupdigital/android-maven-publish","last_synced_at":"2026-01-11T17:01:36.481Z","repository":{"id":56159164,"uuid":"97633177","full_name":"wupdigital/android-maven-publish","owner":"wupdigital","description":"Modification of the standard Maven Publish plugin to be compatible with android-library projects (aar).","archived":false,"fork":false,"pushed_at":"2023-01-30T10:02:20.000Z","size":419,"stargazers_count":323,"open_issues_count":2,"forks_count":39,"subscribers_count":11,"default_branch":"master","last_synced_at":"2023-12-13T17:09:44.651Z","etag":null,"topics":["aar","android","android-library","gradle-plugin","maven-publish","publishing"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/wupdigital.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}},"created_at":"2017-07-18T18:55:36.000Z","updated_at":"2023-09-22T12:08:14.000Z","dependencies_parsed_at":"2023-02-16T06:16:04.119Z","dependency_job_id":null,"html_url":"https://github.com/wupdigital/android-maven-publish","commit_stats":null,"previous_names":[],"tags_count":14,"template":null,"template_full_name":null,"purl":"pkg:github/wupdigital/android-maven-publish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wupdigital%2Fandroid-maven-publish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wupdigital%2Fandroid-maven-publish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wupdigital%2Fandroid-maven-publish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wupdigital%2Fandroid-maven-publish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wupdigital","download_url":"https://codeload.github.com/wupdigital/android-maven-publish/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wupdigital%2Fandroid-maven-publish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"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":["aar","android","android-library","gradle-plugin","maven-publish","publishing"],"created_at":"2026-01-11T17:01:36.365Z","updated_at":"2026-01-11T17:01:36.466Z","avatar_url":"https://github.com/wupdigital.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/wupdigital/android-maven-publish.svg?branch=master)](https://travis-ci.org/wupdigital/android-maven-publish)\n[![Coverage Status](https://coveralls.io/repos/github/wupdigital/android-maven-publish/badge.svg?branch=master)](https://coveralls.io/github/wupdigital/android-maven-publish?branch=master)\n[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)\n\n# android-maven-publish\n\n**Deprecated:** This plugin is no longer needed since [`maven-publish` is officially supported by AGP](https://developer.android.com/studio/build/maven-publish-plugin).\n\nUse AGP 3.6.0 or newer.\n\n## Description\nModification of the standard Maven Publish plugin to be compatible with _android-library_ projects (_aar_).\n\n## Applying the plugin\n\n``` groovy\nplugins {\n    id 'digital.wup.android-maven-publish' version '3.6.2'\n}\n```\n\n-or-\n\n``` groovy\nbuildscript {\n    repositories {\n        jcenter()\n    }\n    dependencies {\n        classpath 'digital.wup:android-maven-publish:3.6.2'\n    }\n}\n\napply plugin: 'digital.wup.android-maven-publish'\n```\n\n## Documentation\n\nThe _android-maven-publish_ plugin provides a `SoftwareComponent` similar to the `java` plugin (`components.java`).\nThe `android` component is used to determine which _aar_ files are published and which dependencies should be listed in the generated _POM_ file.\n\n### Usage\n\nPlease refer to the standard [Maven Publish plugin documentation](https://docs.gradle.org/current/userguide/publishing_maven.html).\n\n``` groovy\npublishing {\n    publications {\n        mavenAar(MavenPublication) {\n            from components.android\n        }\n    }\n}\n```\n\nIf you want to publish custom variants:\n\n``` groovy\npublishing {\n    publications {\n        android.libraryVariants.all { variant -\u003e\n\n            \"maven${variant.name.capitalize()}Aar\"(MavenPublication) {\n                from components.findByName(\"android${variant.name.capitalize()}\")\n                groupId 'digital.wup.test-publish'\n                artifactId 'test-publish'\n                version \"1.0.0-${variant.name}\"\n            }\n        }\n    }\n}\n```\n\n## Compatibility information\n\n| Plugin Version | Dependency Information | Gradle Version |\n| ------------- | ----------- | ----------- |\n| 1.0.0 | digital.wup:android-maven-publish:1.0.0 | 2.4 - 3.3   |\n| 2.0.0 | digital.wup:android-maven-publish:2.0.0 | 3.4 - 4.0   |\n| 3.0.0 | digital.wup:android-maven-publish:3.0.0 | 3.4 - 4.1   |\n| 3.1.1 | digital.wup:android-maven-publish:3.1.1 | 4.2 - 4.3.x |\n| 3.2.0 | digital.wup:android-maven-publish:3.2.0 | 4.4         |\n| 3.3.0 | digital.wup:android-maven-publish:3.3.0 | 4.5         |\n| 3.4.0 | digital.wup:android-maven-publish:3.4.0 | 4.5 - 4.6   |\n| 3.5.1 | digital.wup:android-maven-publish:3.5.1 | 4.7         |\n| 3.6.3 | digital.wup:android-maven-publish:3.6.3 | 4.8         |\n\n## License\n\n    Copyright 2017 W.UP, Ltd.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    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, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwupdigital%2Fandroid-maven-publish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwupdigital%2Fandroid-maven-publish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwupdigital%2Fandroid-maven-publish/lists"}