-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
68 lines (58 loc) · 1.67 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
apply plugin: 'com.android.library'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'com.github.dcendents.android-maven'
group = 'in.ishankhanna.materialcheckboxview'
version = '1.0.0'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
minSdkVersion 8
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
}
task generateSourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier 'sources'
}
task generateJavadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath()
.join(File.pathSeparator))
}
task generateJavadocsJar(type: Jar) {
from generateJavadocs.destinationDir
classifier 'javadoc'
}
generateJavadocsJar.dependsOn generateJavadocs
bintray {
user = BintrayUserName
key = BintrayApiKey
pkg {
repo = 'maven'
name = 'in.ishankhanna.materialcheckboxview'
version {
name = 'MaterialCheckBox'
desc = 'Material Design Check Box'
released = new Date()
vcsTag = '1.0.0'
}
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/ishan1604/MaterialCheckBox.git'
websiteUrl = 'https://github.com/ishan1604/MaterialCheckBox'
}
configurations = ['archives']
}