android-maven-publish

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

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

digital.wup
Идентификатор

Идентификатор

android-maven-publish
Последняя версия

Последняя версия

3.6.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

android-maven-publish
Modification to the standard Maven Publish plugin to be compatible with android-library projects (aar).
Ссылка на сайт

Ссылка на сайт

https://github.com/wupdigital/android-maven-publish
Система контроля версий

Система контроля версий

https://github.com/wupdigital/android-maven-publish/tree/3.6.3

Скачать android-maven-publish

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/digital.wup/android-maven-publish/ -->
<dependency>
    <groupId>digital.wup</groupId>
    <artifactId>android-maven-publish</artifactId>
    <version>3.6.3</version>
</dependency>
// https://jarcasting.com/artifacts/digital.wup/android-maven-publish/
implementation 'digital.wup:android-maven-publish:3.6.3'
// https://jarcasting.com/artifacts/digital.wup/android-maven-publish/
implementation ("digital.wup:android-maven-publish:3.6.3")
'digital.wup:android-maven-publish:jar:3.6.3'
<dependency org="digital.wup" name="android-maven-publish" rev="3.6.3">
  <artifact name="android-maven-publish" type="jar" />
</dependency>
@Grapes(
@Grab(group='digital.wup', module='android-maven-publish', version='3.6.3')
)
libraryDependencies += "digital.wup" % "android-maven-publish" % "3.6.3"
[digital.wup/android-maven-publish "3.6.3"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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.
digital.wup

W.UP Digital

Версии библиотеки

Версия
3.6.3
3.6.2
3.6.1
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
3.1.1
3.1.0
3.0.0
2.0.0
1.0.0