提交 ac4a5bdb 编写于 作者: S scwang90

发布 2.0.3 版本

上级 16cf628b
......@@ -2,7 +2,7 @@
[![License](https://img.shields.io/badge/License%20-Apache%202-337ab7.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Arsenal](https://img.shields.io/badge/Arsenal%20-%20SmartRefresh-4cae4c.svg)](https://android-arsenal.com/details/1/6001)
[![JCenter](https://img.shields.io/badge/%20JCenter%20-2.0.2-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![JCenter](https://img.shields.io/badge/%20JCenter%20-2.0.3-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![MinSdk](https://img.shields.io/badge/%20MinSdk%20-%2012%2B%20-f0ad4e.svg)](https://android-arsenal.com/api?level=12)
[![Methods](https://img.shields.io/badge/Methods%20%7C%20Size%20-%20784%20%7C%20121%20KB-d9534f.svg)](http://www.methodscount.com/?lib=com.scwang.smartrefresh%3ASmartRefreshLayout%3A1.0.4)
......@@ -127,14 +127,14 @@ V2.x 相对于 V1.x 对包名做了修改如:com.scwang.smartrefresh 改为 co
compile 'com.android.support:appcompat-v7:25.3.1' //必须 25.3.1 以上
// 注意:分包之后不会有默认的Header和Footer需要手动添加!还是原来的三种方法!
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.2' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.2' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.2' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.2' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.2' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.2' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.2' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.2' //经典加载
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.3' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载
```
......@@ -151,14 +151,14 @@ android.enableJetifier=true
```
implementation 'androidx.appcompat:appcompat:1.0.0' //必须 1.0.0 以上
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.2' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.2' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.2' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.2' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.2' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.2' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.2' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.2' //经典加载
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.3' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载
```
......
......@@ -2,7 +2,7 @@
[![License](https://img.shields.io/badge/License%20-Apache%202-337ab7.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Arsenal](https://img.shields.io/badge/Arsenal%20-%20SmartRefresh-4cae4c.svg)](https://android-arsenal.com/details/1/6001)
[![JCenter](https://img.shields.io/badge/%20Jcenter%20-2.0.2-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![JCenter](https://img.shields.io/badge/%20Jcenter%20-2.0.3-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![MinSdk](https://img.shields.io/badge/%20MinSdk%20-%2012%2B%20-f0ad4e.svg)](https://android-arsenal.com/api?level=12)
[![Methods](https://img.shields.io/badge/Methods%20%7C%20Size%20-%20784%20%7C%20122%20KB-d9534f.svg)](http://www.methodscount.com/?lib=com.scwang.smartrefresh%3ASmartRefreshLayout%3A1.1.0)
......@@ -114,20 +114,20 @@ It is recommended that you copy the source code into the project whenever you ne
```
// Note: There will be no default Header and Footer after subcontracting. It needs to be added manually!
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.2' //core
implementation 'com.scwang.smart:refresh-header-classics:2.0.2' //ClassicsHeader
implementation 'com.scwang.smart:refresh-header-radar:2.0.2' //BezierRadarHeader
implementation 'com.scwang.smart:refresh-header-falsify:2.0.2' //FalsifyHeader
implementation 'com.scwang.smart:refresh-header-material:2.0.2' //MaterialHeader
implementation 'com.scwang.smart:refresh-header-two-level:2.0.2' //TwoLevelHeader
implementation 'com.scwang.smart:refresh-footer-ball:2.0.2' //BallPulseFooter
implementation 'com.scwang.smart:refresh-footer-classics:2.0.2' //ClassicsFooter
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //core
implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //ClassicsHeader
implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //BezierRadarHeader
implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //FalsifyHeader
implementation 'com.scwang.smart:refresh-header-material:2.0.3' //MaterialHeader
implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //TwoLevelHeader
implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //BallPulseFooter
implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //ClassicsFooter
```
<!-- // The package name of `com.scwang.smartrefresh` is retained, but not subcontracted. -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.2' //Headers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshFooter:2.0.2' //Footers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshLayout:2.0.2' //core、 default Header and Footer -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.3' //Headers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshFooter:2.0.3' //Footers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshLayout:2.0.3' //core、 default Header and Footer -->
If you use AndroidX, add it to gradle.properties
......
......@@ -45,7 +45,7 @@ if (new File(file).exists()) {
properties.load(new FileInputStream(file))
if ('true' == properties['SMART_PUBLISH']) {
subprojects {
if (name.startsWith("refresh-") && !name.contains("drawable")) {
if (name.startsWith("refresh-")) {
group = SMART_GROUP
version = SMART_VERSION
if (name.split('-').length > 2) {
......
......@@ -18,5 +18,5 @@ org.gradle.jvmargs=-Xmx1536m
SMART_USER=scwang90
SMART_GROUP=com.scwang.smart
SMART_VERSION=2.0.2
SMART_VERSION=2.0.3
SMART_PUBLISH=false
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册