-
Notifications
You must be signed in to change notification settings - Fork 417
/
Copy pathbuild.gradle
39 lines (35 loc) · 1.12 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
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'//添加jcenter插件
//apply from:'../z_publish.gradle'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
minSdkVersion 11
targetSdkVersion 24
versionCode 10
versionName "1.0.9"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
provided 'com.android.support:support-v4:24.0.0'
}
//添加
publish {
userOrg = 'luckyjayce'//bintray.com用户名
groupId = 'com.shizhefei'//jcenter上的路径
artifactId = 'LargeImageView'//项目名称
publishVersion = '1.1.0'//版本号
desc = 'display large image,can scale and move image'//描述,不重要
website = 'https://github.com/LuckyJayce/LargeImageView'//网站,不重要;尽量模拟github上的地址,例如我这样的;当然你有地址最好了
}