Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/warnyul/artifactory-plugin-android-test

artifactory and android-maven-publish plugin compatibility check
https://github.com/warnyul/artifactory-plugin-android-test

android android-maven-publish artifactory

Last synced: about 1 month ago
JSON representation

artifactory and android-maven-publish plugin compatibility check

Awesome Lists containing this project

README

        

# artifactory and android-maven-publish plugin compatibility check

[![Build Status](https://travis-ci.org/warnyul/artifactory-plugin-test.svg?branch=master)](https://travis-ci.org/warnyul/artifactory-plugin-test)

This repository contains a non working sample, when use `artifactory` plugin with the `android-maven-publish` plugin.

The `android-maven-publish` does not find the `releaseApiElements` and `releaseRuntimeElements` configuration when the `artifactory` plugin tries to collect maven publications in configuration phase.

## Sample configuration
```groovy
apply plugin: 'com.android.library'
apply plugin: 'digital.wup.android-maven-publish'
apply plugin: 'com.jfrog.artifactory'

android {
// Android library plugin configuration
// ...
}

dependencies {
// List of dependencies
// ...
}

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

```