Skip to content
A Gradle plugin that simplifies publishing to Maven and Bintray.
Groovy
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle
src
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Simple-Publish

Build Status Gradle Plugin Portal

A Gradle plugin that simplifies publishing to Maven and Bintray.

Usage

The plugin is available on the Gradle Plugin Portal and can be installed via the plugins DSL in build.gradle:

plugins {
	// ...
	id 'java'
	id 'maven-publish'
	id 'com.jfrog.bintray' version '1.8.4'
	id 'de.clashsoft.simple-publish' version '0.4.0'
	// ...
}

// ...

See config.gradle for a configuration example.

To publish to Bintray, you need to configure your username and API key. If you have a custom GPG key in your profile, you also need to set the passphrase. The properties should be placed in ~/.gradle/gradle.properties:

# ...
bintray.user=jdoe
bintray.key=a4Kn2HZn1Ub8B
bintray.gpg.passphrase=p@55w0rD

Don't forget to set the project name in settings.gradle:

rootProject.name = 'test'

After configuring the Bintray repository, the plugin and the properties, you can publish with the bintrayPublish task.

You can’t perform that action at this time.