Skip to content

Commit 6d4b8e5

Browse files
Add bintray plugin for publishing
1 parent 358d59e commit 6d4b8e5

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

android-mvvm/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,5 @@ dependencies {
6868
compile 'com.android.support:recyclerview-v7:24.0.0'
6969
compile 'com.android.support:appcompat-v7:24.0.0'
7070
}
71+
72+
apply from: rootProject.file('gradle/bintray-push.gradle')

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.1.0'
9+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
10+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
911

1012
// NOTE: Do not place your application dependencies here; they belong
1113
// in the individual module build.gradle files

gradle/bintray-push.gradle

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
ext {
3+
bintrayRepo = 'maven'
4+
bintrayName = 'android-mvvm'
5+
6+
publishedGroupId = 'com.manaschaudhari'
7+
libraryName = 'Android MVVM'
8+
artifact = 'android-mvvm'
9+
10+
libraryDescription = 'Tools for implementing MVVM on Android'
11+
12+
siteUrl = 'https://github.com/manas-chaudhari/android-mvvm'
13+
gitUrl = 'https://github.com/manas-chaudhari/android-mvvm.git'
14+
15+
libraryVersion = '0.1.0'
16+
17+
developerId = 'manas-chaudhari'
18+
developerName = 'Manas Chaudhari'
19+
developerEmail = 'chaudhari.manas@gmail.com'
20+
21+
licenseName = 'The Apache Software License, Version 2.0'
22+
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
23+
allLicenses = ["Apache-2.0"]
24+
}
25+
26+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
27+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

0 commit comments

Comments
 (0)