Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eygraber/gradle-mvn-push

A gradle script for deploying Android projects to MavenCentral using Sonatype and Nexus
https://github.com/eygraber/gradle-mvn-push

Last synced: 5 days ago
JSON representation

A gradle script for deploying Android projects to MavenCentral using Sonatype and Nexus

Awesome Lists containing this project

README

        

# gradle-mvn-push

A gradle script for deploying to MavenCentral using Sonatype and Nexus

## Required properties (usually found in gradle.properties):
- ```VERSION_NAME=```
- ```GROUP=```
- ```POM_NAME=```
- ```POM_ARTIFACT_ID=```
- ```POM_PACKAGING=```
- ```POM_DESCRIPTION=```
- ```POM_URL=```
- ```POM_SCM_URL=```
- ```POM_SCM_CONNECTION=```
- ```POM_SCM_DEV_CONNECTION=```
- ```POM_LICENCE_NAME=```
- ```POM_LICENCE_URL=```
- ```POM_LICENCE_DIST=```
- ```POM_DEVELOPER_ID=```
- ```POM_DEVELOPER_NAME=```

## The following properties are optional:
- ```PGP_KEY_ID=```
- ```PGP_SECRET_KEY_RING=```
- ```PGP_PRIVATE_KEY_PASSWORD=```
- ```NEXUS_USERNAME=```
- ```NEXUS_PASSWORD=```

This script should be included in build.gradle like so:

apply from: 'https://raw.githubusercontent.com/eygraber/gradle-mvn-push/master/gradle-mvn-push.gradle'