Skip to content

Commit

Permalink
Add bintray plugin for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
manas-chaudhari committed Aug 3, 2016
1 parent 358d59e commit 6d4b8e5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android-mvvm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ dependencies {
compile 'com.android.support:recyclerview-v7:24.0.0'
compile 'com.android.support:appcompat-v7:24.0.0'
}

apply from: rootProject.file('gradle/bintray-push.gradle')
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
27 changes: 27 additions & 0 deletions gradle/bintray-push.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

ext {
bintrayRepo = 'maven'
bintrayName = 'android-mvvm'

publishedGroupId = 'com.manaschaudhari'
libraryName = 'Android MVVM'
artifact = 'android-mvvm'

libraryDescription = 'Tools for implementing MVVM on Android'

siteUrl = 'https://github.com/manas-chaudhari/android-mvvm'
gitUrl = 'https://github.com/manas-chaudhari/android-mvvm.git'

libraryVersion = '0.1.0'

developerId = 'manas-chaudhari'
developerName = 'Manas Chaudhari'
developerEmail = '[email protected]'

licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}

apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

0 comments on commit 6d4b8e5

Please sign in to comment.