-
Notifications
You must be signed in to change notification settings - Fork 211
/
Copy pathbuild.gradle
35 lines (31 loc) · 1.02 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
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'//添加
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
minSdkVersion 10
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'])
compile 'com.android.support:support-v4:23.2.0'
}
//添加
publish {
userOrg = 'hongyangandroid'//bintray.com用户名
groupId = 'com.zhy'//jcenter上的路径
artifactId = 'magic-viewpager'//项目名称
publishVersion = '1.0.0'//版本号
desc = 'some nice animation implements for ViewPager'//描述,不重要
website = 'https://github.com/hongyangAndroid/MagicViewPager'//网站,不重要;尽量模拟github上的地址,例如我这样的;当然你有地址最好了
}