Skip to content

Instantly share code, notes, and snippets.

@JacquesSmuts
Last active May 4, 2019 09:30
Show Gist options
  • Select an option

  • Save JacquesSmuts/a004eec630f299bfa01bb63aabf00474 to your computer and use it in GitHub Desktop.

Select an option

Save JacquesSmuts/a004eec630f299bfa01bb63aabf00474 to your computer and use it in GitHub Desktop.
for creating and deploying a library
// Project-level build.gradle:
buildscript {
dependencies {
classpath 'com.novoda:bintray-release:0.9'
}
}
// Library module build.gradle:
apply plugin: 'com.novoda.bintray-release'
android {
// The usual
}
publish {
userOrg = 'jacquessmuts' // Name of your organisation, if you have one, otherwise your username
groupId = 'com.jacquessmuts' // your module package
repoName = 'RxHelpers' // Name of the maven repository you already created on Bintray
artifactId = 'rxhelpers' // ID which will be used to reference this repo when downloading it
publishVersion = '0.0.1' // Version
bintrayUser = 'JacquesSmuts' // Your Bintray Username
bintrayKey = System.getenv("BINTRAY_KEY") // Your Bintray API key. In this case we will save it as an environment variable in CircleCI
desc = 'A list of small kotlin extension functions and delegates for RxJava' // Description of your repo
website = 'https://github.com/jacquessmuts/rxhelpers' // Website to your repo. Must be real.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment