Skip to content

Commit e402e02

Browse files
committed
prepared to release library
1 parent a0217a3 commit e402e02

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

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.2.3'
9+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
10+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
911

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

folderpicker/build.gradle

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
group='lib.kashifo'
4+
5+
ext {
6+
bintrayRepo = 'android-folder-picker-library'
7+
bintrayName = 'android-folder-picker-library'
8+
9+
publishedGroupId = 'lib.kashif'
10+
libraryName = 'android-folder-picker-library'
11+
artifact = 'folder-picker'
12+
13+
libraryDescription = 'An library that can be quickly integrated in any app to let users choose folder.'
14+
15+
siteUrl = 'https://github.com/kashifo/android-folder-picker-library'
16+
gitUrl = 'https://github.com/kashifo/android-folder-picker-library.git'
17+
18+
libraryVersion = '2.0'
19+
20+
developerId = 'kashifo'
21+
developerName = 'Kashif Anwaar'
22+
developerEmail = 'koderkashif@gmail.com'
23+
24+
licenseName = 'The Apache Software License, Version 2.0'
25+
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
26+
allLicenses = ["Apache-2.0"]
27+
}
228

329
android {
430
compileSdkVersion 25
@@ -28,3 +54,7 @@ dependencies {
2854
})
2955
testCompile 'junit:junit:4.12'
3056
}
57+
58+
//To publish library to bintray
59+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
60+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

0 commit comments

Comments
 (0)