All Projects → wupdigital → Android Maven Publish

wupdigital / Android Maven Publish

Licence: apache-2.0
Modification of the standard Maven Publish plugin to be compatible with android-library projects (aar).

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Android Maven Publish

sonatype-publish-plugin
Gradle Plugin for publishing artifacts to Sonatype and Nexus
Stars: ✭ 17 (-94.28%)
Mutual labels:  publishing, gradle-plugin
Gradle Play Publisher
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
Stars: ✭ 3,690 (+1142.42%)
Mutual labels:  gradle-plugin, publishing
change-tracker-plugin
A Gradle plugin to help analyse the dependency between modules and run tasks only on modules impacted by specific set of changes.
Stars: ✭ 103 (-65.32%)
Mutual labels:  gradle-plugin
Gradle Code Quality Tools Plugin
Gradle plugin that generates ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject.
Stars: ✭ 282 (-5.05%)
Mutual labels:  gradle-plugin
Notehub
A pastebin for markdown pages.
Stars: ✭ 262 (-11.78%)
Mutual labels:  publishing
android-retrofix
Backports Java 8 APIs (java.util.Optional, java.util.function, java.util.stream, java.util.concurrent.CompletableFuture, java.time) to Android below API 24 (Android 7.0 Nougat)
Stars: ✭ 51 (-82.83%)
Mutual labels:  gradle-plugin
Gradle Aws Plugin
Gradle plugin to manage Amazon Web Services
Stars: ✭ 269 (-9.43%)
Mutual labels:  gradle-plugin
gradle-console-reporter
Gradle plugin to report various kinds of summaries to console.
Stars: ✭ 49 (-83.5%)
Mutual labels:  gradle-plugin
Androidlife
📔 CaMnter's android learning life and footprint.
Stars: ✭ 293 (-1.35%)
Mutual labels:  gradle-plugin
Manubot
Python utilities for Manubot: Manuscripts, open and automated
Stars: ✭ 260 (-12.46%)
Mutual labels:  publishing
Gradle Unused Resources Remover Plugin
Gradle Plugin that removes unused resources in Android projects.
Stars: ✭ 282 (-5.05%)
Mutual labels:  gradle-plugin
Substance
A JavaScript library for web-based content editing.
Stars: ✭ 2,737 (+821.55%)
Mutual labels:  publishing
schema-registry-plugin
Gradle plugin to interact with Confluent Schema-Registry.
Stars: ✭ 60 (-79.8%)
Mutual labels:  gradle-plugin
Dependencycheck
OWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.
Stars: ✭ 3,571 (+1102.36%)
Mutual labels:  gradle-plugin
kotlinx-resources
Kotlin Multiplatform (KMP) library for reading resources in tests
Stars: ✭ 15 (-94.95%)
Mutual labels:  gradle-plugin
Gradle Nexus Plugin
Gradle plugin for configuring and uploading artifacts to Sonatype Nexus
Stars: ✭ 284 (-4.38%)
Mutual labels:  gradle-plugin
dispatch
A publishing platform for modern newspapers.
Stars: ✭ 62 (-79.12%)
Mutual labels:  publishing
Parsifal
Parsifal is a tool to assist researchers to perform Systematic Literature Reviews
Stars: ✭ 254 (-14.48%)
Mutual labels:  publishing
Androidsvgdrawable Plugin
Gradle plugin that generates qualified, density specific PNG drawables from SVG files at build time for your Android projects.
Stars: ✭ 263 (-11.45%)
Mutual labels:  gradle-plugin
Fat Aar Plugin
[DEPRECATED]A gradle plugin that helps to output fat aar from android library
Stars: ✭ 297 (+0%)
Mutual labels:  gradle-plugin

Build Status Coverage Status License

android-maven-publish

Deprecated: This plugin is no longer needed since maven-publish is officially supported by AGP.

Use AGP 3.6.0 or newer.

Description

Modification of the standard Maven Publish plugin to be compatible with android-library projects (aar).

Applying the plugin

plugins {
    id 'digital.wup.android-maven-publish' version '3.6.2'
}

-or-

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'digital.wup:android-maven-publish:3.6.2'
    }
}

apply plugin: 'digital.wup.android-maven-publish'

Documentation

The android-maven-publish plugin provides a SoftwareComponent similar to the java plugin (components.java). The android component is used to determine which aar files are published and which dependencies should be listed in the generated POM file.

Usage

Please refer to the standard Maven Publish plugin documentation.

publishing {
    publications {
        mavenAar(MavenPublication) {
            from components.android
        }
    }
}

If you want to publish custom variants:

publishing {
    publications {
        android.libraryVariants.all { variant ->

            "maven${variant.name.capitalize()}Aar"(MavenPublication) {
                from components.findByName("android${variant.name.capitalize()}")
                groupId 'digital.wup.test-publish'
                artifactId 'test-publish'
                version "1.0.0-${variant.name}"
            }
        }
    }
}

Compatibility information

Plugin Version Dependency Information Gradle Version
1.0.0 digital.wup:android-maven-publish:1.0.0 2.4 - 3.3
2.0.0 digital.wup:android-maven-publish:2.0.0 3.4 - 4.0
3.0.0 digital.wup:android-maven-publish:3.0.0 3.4 - 4.1
3.1.1 digital.wup:android-maven-publish:3.1.1 4.2 - 4.3.x
3.2.0 digital.wup:android-maven-publish:3.2.0 4.4
3.3.0 digital.wup:android-maven-publish:3.3.0 4.5
3.4.0 digital.wup:android-maven-publish:3.4.0 4.5 - 4.6
3.5.1 digital.wup:android-maven-publish:3.5.1 4.7
3.6.3 digital.wup:android-maven-publish:3.6.3 4.8 -

License

Copyright 2017 W.UP, Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].