Skip to content

Commit 499f7ab

Browse files
committed
1.1.5
1 parent 1f719c1 commit 499f7ab

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ViewPagerIndicator
1111
###7.导入方式
1212
<1>gradle导入
1313

14-
compile 'com.shizhefei:ViewPagerIndicator:1.1.4'
14+
compile 'com.shizhefei:ViewPagerIndicator:1.1.5'
1515
由于用到了v4和recyclerview所以也要导入他们
1616
compile 'com.android.support:support-v4:23.4.0'
1717
compile 'com.android.support:recyclerview-v7:23.4.0'

library/build.gradle

+3-32
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 9
99
targetSdkVersion 23
10-
versionCode 15
11-
versionName "1.1.4"
10+
versionCode 16
11+
versionName "1.1.5"
1212
}
1313
buildTypes {
1414
release {
@@ -21,35 +21,6 @@ android {
2121
}
2222
}
2323

24-
//打包生成jar包,执行gradle buildJar
25-
//dependsOn 可根据实际需要增加或更改
26-
task buildJar(dependsOn: ['compileReleaseJavaWithJavac'], type: Jar) {
27-
28-
appendix = "demo"
29-
baseName = "androidJar"
30-
version = "1.1.4"
31-
classifier = "release"
32-
//后缀名
33-
extension = "jar"
34-
//最终的 Jar 包名,如果没设置,默认为 [baseName]-[appendix]-[version]-[classifier].[extension]
35-
archiveName = "d.jar"
36-
37-
//需打包的资源所在的路径集
38-
def srcClassDir = [project.buildDir.absolutePath + "/intermediates/classes/release"];
39-
//初始化资源路径集
40-
from srcClassDir
41-
42-
//过滤不需要的class
43-
exclude "**/**/BuildConfig.class"
44-
exclude "**/**/BuildConfig\$*.class"
45-
exclude "**/R.class"
46-
exclude "**/R\$*.class"
47-
//
48-
// //指定打包的class
49-
// include "com/test/**/*.class"
50-
}
51-
52-
5324
dependencies {
5425
compile fileTree(include: ['*.jar'], dir: 'libs')
5526
provided 'com.android.support:recyclerview-v7:23.4.0'
@@ -64,7 +35,7 @@ publish {
6435
userOrg = 'luckyjayce'//bintray.com用户名
6536
groupId = 'com.shizhefei'//jcenter上的路径
6637
artifactId = 'ViewPagerIndicator'//项目名称
67-
publishVersion = '1.1.4'//版本号
38+
publishVersion = '1.1.5'//版本号
6839
desc = '实现滑动tab,引导页等效果'//描述,不重要
6940
website = 'https://github.com/LuckyJayce/ViewPagerIndicator'//网站,不重要;尽量模拟github上的地址,例如我这样的;当然你有地址最好了
7041
}

0 commit comments

Comments
 (0)