Skip to content

Instantly share code, notes, and snippets.

apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
version '1.0' // your library version
group 'com.adawoud' // whatever group name you'd like
publishing {
publications {
Production(MavenPublication) {
artifact("$buildDir/outputs/aar/bottomsheettimerangepicker-release.aar") // replace with your library name
@oheyadam
oheyadam / local.properties
Created December 3, 2018 14:13
Add your bintray credentials to a .properties file
user=yourUsername
apiKey=yourApiKey
@oheyadam
oheyadam / build.gradle
Created December 3, 2018 13:59
A gist showing how to add the bintray and maven-gradle plugins to your app-level build.gralde file.
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}