Gradle plugin for Android library publishing

Maven parent project for OSS publishment

Лицензия

Лицензия

Группа

Группа

com.sdklite
Идентификатор

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

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

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

0.2.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

Gradle plugin for Android library publishing
Maven parent project for OSS publishment
Организация-разработчик

Организация-разработчик

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

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

https://github.com/sdklite/publishing

Скачать publishing

Имя Файла Размер
publishing-0.2.0.pom 1 KB
Обзор

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

<!-- https://jarcasting.com/artifacts/com.sdklite/publishing/ -->
<dependency>
    <groupId>com.sdklite</groupId>
    <artifactId>publishing</artifactId>
    <version>0.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.sdklite/publishing/
implementation 'com.sdklite:publishing:0.2.0'
// https://jarcasting.com/artifacts/com.sdklite/publishing/
implementation ("com.sdklite:publishing:0.2.0")
'com.sdklite:publishing:pom:0.2.0'
<dependency org="com.sdklite" name="publishing" rev="0.2.0">
  <artifact name="publishing" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.sdklite', module='publishing', version='0.2.0')
)
libraryDependencies += "com.sdklite" % "publishing" % "0.2.0"
[com.sdklite/publishing "0.2.0"]

Зависимости

test (4)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.robolectric : robolectric jar 3.0
org.robolectric : android-all jar 5.0.0_r2-robolectric-1
org.hamcrest : hamcrest-library jar 1.3

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

  • maven

Getting Started

  1. Configure the classpath

    buildscript {
        ...
        dependencies {
            ...
            classpath 'com.sdklite.publishing:maven:0.1.0'
        }
    }
  2. Apply the plugin

    apply plugin: 'com.sdklite.publishing.maven'
  3. Configure properties for Maven

    Properties Description Default Value
    group The groupId project.group
    artifactId The artifactId project.name
    version The version project.version
    packaging The packaging aar
    url The project URL project.SCM_URL
    SCM_URL The SCM URL
    SCM_CONNECTION The SCM connection URI
    SCM_DEV_CONNECTION The SCM connection URI for developer
    LICENSE_NAME The license name
    LICENSE_URL The license URL
    LICENSE_DIST The license distribution
    DEVELOPER_ID The ID of developer ${user.name}
    DEVELOPER_NAME The name of developer ${user.name}
    RELEASE_REPOSITORY_URL The repository URL for release ~/.m2/repository
    SNAPSHOT_REPOSITORY_URL The repository URL for snapshot ~/.m2/repository
    REPOSITORY_USERNAME The username
    REPOSITORY_PASSWORD The password
  4. Deploy the library

    $ ./gradlew clean uploadArchives

    By default a library only publishes its release variant. You can control which variant gets published:

    android {
        defaultPublishConfig 'debug'
    }
com.sdklite

SDKLite

SDKLite

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

Версия
0.2.0
0.1.0