File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # android-maven-publish
2+
13[ ![ Build Status] ( https://travis-ci.org/wupdigital/android-maven-publish.svg?branch=master )] ( https://travis-ci.org/wupdigital/android-maven-publish )
24[ ![ 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 )
35[ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-green.svg )] ( LICENSE )
46
5- # android-maven-publish
6-
77Modification of the standard Maven Publish plugin to be compatible with _ android-library_ projects (_ aar_ ).
88
99## Applying the plugin
1010
11- ``` groovy
11+ ``` groovy
1212plugins {
13- id 'digital.wup.android-maven-publish' version '3.6.2 '
13+ id 'digital.wup.android-maven-publish' version '3.6.3 '
1414}
1515```
1616
1717-or-
1818
19- ``` groovy
19+ ``` groovy
2020buildscript {
2121 repositories {
2222 jcenter()
2323 }
2424 dependencies {
25- classpath 'digital.wup:android-maven-publish:3.6.2 '
25+ classpath 'digital.wup:android-maven-publish:3.6.3 '
2626 }
2727}
2828
@@ -38,7 +38,7 @@ The `android` component is used to determine which _aar_ files are published and
3838
3939Please refer to the standard [ Maven Publish plugin documentation] ( https://docs.gradle.org/current/userguide/publishing_maven.html ) .
4040
41- ``` groovy
41+ ``` groovy
4242publishing {
4343 publications {
4444 mavenAar(MavenPublication) {
@@ -50,11 +50,10 @@ publishing {
5050
5151If you want to publish custom variants:
5252
53- ``` groovy
53+ ``` groovy
5454publishing {
5555 publications {
5656 android.libraryVariants.all { variant ->
57-
5857 "maven${variant.name.capitalize()}Aar"(MavenPublication) {
5958 from components.findByName("android${variant.name.capitalize()}")
6059 groupId 'digital.wup.test-publish'
You can’t perform that action at this time.
0 commit comments