/
build.gradle
58 lines (50 loc) · 1.61 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
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
minSdkVersion 12
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
//noinspection GradleDependency
provided 'com.android.support:support-annotations:25.1.0'
//noinspection GradleDependency,GradleCompatible
provided ('com.android.support:support-v4:22.1.0') {
exclude group: 'com.android.support'
}
//noinspection GradleDependency,GradleCompatible
provided ('com.android.support:recyclerview-v7:21.0.0') {
exclude group: 'com.android.support'
}
provided ('com.android.support:design:23.0.0') {
exclude group: 'com.android.support'
}
}
publish {
userOrg = 'scwang90'
groupId = 'com.scwang.smartrefresh'
artifactId = 'SmartRefreshLayout'
version = '1.1.0-alpha-8'
description = 'An intelligent refresh layout'
website = "https://github.com/scwang90/${rootProject.name}"
}