Skip to content

exacloud/bintray-release

 
 

Repository files navigation

bintray-release Download

Super duper easy way to release your Android and other artifacts to bintray.

Description

This is a helper for releasing libraries to bintray. It is intended to help configuring stuff related to maven and bintray. At the moment it works with Android Library projects, plain Java and plain Groovy projects, but our focus is to mainly support Android projects.

Adding to project

To publish a library to bintray using this plugin, add these dependencies to the build.gradle of the module that will be published:

apply plugin: 'com.novoda.bintray-release' // must be applied after your artifact generating plugin (eg. java / com.android.library)

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.novoda:bintray-release:<latest-version>'
    }
}

Simple usage

Use the publish closure to set the info of your package:

publish {
    userOrg = 'novoda'
    groupId = 'com.novoda'
    artifactId = 'bintray-release'
    publishVersion = '0.6.1'
    desc = 'Oh hi, this is a nice description for a project, right?'
    website = 'https://github.com/novoda/bintray-release'
}

Finally, use the task bintrayUpload to publish (make sure you build the project first!):

$ ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false

More info on the available properties and other usages in the Github Wiki.

Links

Here are a list of useful links:

  • We always welcome people to contribute new features or bug fixes, here is how
  • If you have a problem check the Issues Page first to see if we are working on it
  • For further usage or to delve more deeply checkout the Project Wiki
  • Looking for community help, browse the already asked Stack Overflow Questions or use the tag: support-bintray-release when posting a new question

About

A helper for releasing from gradle up to bintray

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 100.0%