Skip to content

Commit cbcc0a8

Browse files
committed
修改框架版本号为 12.8
1 parent 6fe1804 commit cbcc0a8

File tree

4 files changed

+21
-32
lines changed

4 files changed

+21
-32
lines changed

README-en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* Project address: [Github](https://github.com/getActivity/Toaster)
66

7-
* [Click here to download demo apk directly](https://github.com/getActivity/Toaster/releases/download/12.6/Toaster.apk)
7+
* [Click here to download demo apk directly](https://github.com/getActivity/Toaster/releases/download/12.8/Toaster.apk)
88

99
![](picture/en/demo_toast_activity.jpg) ![](picture/en/demo_toast_style_white.jpg) ![](picture/en/demo_toast_style_black.jpg)
1010

@@ -49,7 +49,7 @@ android {
4949
5050
dependencies {
5151
// Toast framework:https://github.com/getActivity/Toaster
52-
implementation 'com.github.getActivity:Toaster:12.6'
52+
implementation 'com.github.getActivity:Toaster:12.8'
5353
}
5454
```
5555

@@ -142,7 +142,7 @@ Toaster.getInterceptor();
142142

143143
| Function or detail | [Toaster](https://github.com/getActivity/Toaster) |[ AndroidUtilCode-ToastUtils ](https://github.com/Blankj/AndroidUtilCode)| [Toasty](https://github.com/GrenderG/Toasty) |
144144
| :----: | :------: | :-----: | :-----: |
145-
| Corresponding version | 12.6 | 1.30.6 | 1.5.0 |
145+
| Corresponding version | 12.8 | 1.30.6 | 1.5.0 |
146146
| Number of issues | [![](https://img.shields.io/github/issues/getActivity/Toaster.svg)](https://github.com/getActivity/Toaster/issues) |[![](https://img.shields.io/github/issues/Blankj/AndroidUtilCode.svg)](https://github.com/Blankj/AndroidUtilCode/issues)| [![](https://img.shields.io/github/issues/GrenderG/Toasty.svg)](https://github.com/GrenderG/Toasty/issues) |
147147
| Framework pack size | 31 KB | 500 KB | 50 KB |
148148
| Framework maintenance status| 维护中 | 停止维护 | 停止维护 |

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
* 博客地址:[只需体验三分钟,你就会跟我一样,爱上这款 Toast](https://www.jianshu.com/p/9b174ee2c571)
88

9-
* 可以扫码下载 Demo 进行演示或者测试,如果扫码下载不了的,[点击此处可直接下载](https://github.com/getActivity/Toaster/releases/download/12.6/Toaster.apk)
9+
* 可以扫码下载 Demo 进行演示或者测试,如果扫码下载不了的,[点击此处可直接下载](https://github.com/getActivity/Toaster/releases/download/12.8/Toaster.apk)
1010

1111
![](picture/zh/download_demo_apk_qr_code.png)
1212

@@ -53,7 +53,7 @@ android {
5353
5454
dependencies {
5555
// 吐司框架:https://github.com/getActivity/Toaster
56-
implementation 'com.github.getActivity:Toaster:12.6'
56+
implementation 'com.github.getActivity:Toaster:12.8'
5757
}
5858
```
5959

@@ -146,7 +146,7 @@ Toaster.getInterceptor();
146146

147147
| 功能或细节 | [Toaster](https://github.com/getActivity/Toaster) | [AndroidUtilCode-ToastUtils](https://github.com/Blankj/AndroidUtilCode) | [Toasty](https://github.com/GrenderG/Toasty) |
148148
| :----: | :------: | :-----: | :-----: |
149-
| 对应版本 | 12.6 | 1.30.6 | 1.5.0 |
149+
| 对应版本 | 12.8 | 1.30.6 | 1.5.0 |
150150
| issues 数 | [![](https://img.shields.io/github/issues/getActivity/Toaster.svg)](https://github.com/getActivity/Toaster/issues) | [![](https://img.shields.io/github/issues/Blankj/AndroidUtilCode.svg)](https://github.com/Blankj/AndroidUtilCode/issues) | [![](https://img.shields.io/github/issues/GrenderG/Toasty.svg)](https://github.com/GrenderG/Toasty/issues) |
151151
| 框架体积 | 32 KB | 500 KB | 50 KB |
152152
| 框架维护状态 | 维护中 | 停止维护 | 停止维护 |
@@ -292,18 +292,6 @@ new Toast
292292

293293
![](https://raw.githubusercontent.com/getActivity/Donate/master/picture/pay_ali.png) ![](https://raw.githubusercontent.com/getActivity/Donate/master/picture/pay_wechat.png)
294294

295-
#### 广告区
296-
297-
* 我现在任腾讯云服务器推广大使,大家如果有购买服务器的需求,可以通过下面的链接购买
298-
299-
[![](https://upload-dianshi-1255598498.file.myqcloud.com/upload/nodir/345X200-9ae456f58874df499adf7c331c02cb0fed12b81d.jpg)](https://curl.qcloud.com/A6cYskvv)
300-
301-
[【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中](https://curl.qcloud.com/A6cYskvv)
302-
303-
[![](https://upload-dianshi-1255598498.file.myqcloud.com/345-200-b28f7dee9552f4241ea6a543f15a9798049701d4.jpg)](https://curl.qcloud.com/up4fQsdn)
304-
305-
[【腾讯云】中小企业福利专场,多款刚需产品,满足企业通用场景需求](https://curl.qcloud.com/up4fQsdn)
306-
307295
## License
308296

309297
```text

app/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 33
4+
compileSdkVersion 34
55

66
defaultConfig {
77
applicationId "com.hjq.toast.demo"
88
minSdkVersion 16
9-
targetSdkVersion 33
10-
versionCode 1206
11-
versionName "12.6"
9+
targetSdkVersion 34
10+
versionCode 1280
11+
versionName "12.8"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1313
}
1414

@@ -42,9 +42,9 @@ android {
4242
}
4343
}
4444

45-
applicationVariants.all { variant ->
45+
applicationVariants.configureEach { variant ->
4646
// apk 输出文件名配置
47-
variant.outputs.all { output ->
47+
variant.outputs.configureEach { output ->
4848
outputFileName = rootProject.getName() + '.apk'
4949
}
5050
}
@@ -65,7 +65,7 @@ dependencies {
6565
implementation 'com.github.getActivity:TitleBar:10.5'
6666

6767
// 权限请求框架:https://github.com/getActivity/XXPermissions
68-
implementation 'com.github.getActivity:XXPermissions:18.3'
68+
implementation 'com.github.getActivity:XXPermissions:20.0'
6969

7070
// 悬浮窗框架:https://github.com/getActivity/EasyWindow
7171
implementation 'com.github.getActivity:EasyWindow:10.3'

library/build.gradle

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ android {
55

66
defaultConfig {
77
minSdkVersion 14
8-
versionCode 1206
9-
versionName "12.6"
8+
versionCode 1280
9+
versionName "12.8"
1010
}
1111

1212
// 使用 JDK 1.8
@@ -20,7 +20,7 @@ android {
2020
exclude 'META-INF/*******'
2121
}
2222

23-
android.libraryVariants.all { variant ->
23+
android.libraryVariants.configureEach { variant ->
2424
// aar 输出文件名配置
2525
variant.outputs.all { output ->
2626
outputFileName = "${rootProject.name}-${android.defaultConfig.versionName}.aar"
@@ -36,23 +36,24 @@ afterEvaluate {
3636
generateDebugResValues.enabled = false
3737
}
3838

39-
tasks.withType(Javadoc) {
39+
tasks.withType(Javadoc).configureEach {
4040
options.addStringOption('Xdoclint:none', '-quiet')
4141
options.addStringOption('encoding', 'UTF-8')
4242
options.addStringOption('charSet', 'UTF-8')
4343
}
4444

45-
task sourcesJar(type: Jar) {
45+
tasks.register('sourcesJar', Jar) {
4646
from android.sourceSets.main.java.srcDirs
4747
classifier = 'sources'
4848
}
4949

50-
task javadoc(type: Javadoc) {
50+
tasks.register('javadoc', Javadoc) {
5151
source = android.sourceSets.main.java.srcDirs
5252
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
5353
}
5454

55-
task javadocJar(type: Jar, dependsOn: javadoc) {
55+
tasks.register('javadocJar', Jar) {
56+
dependsOn javadoc
5657
classifier = 'javadoc'
5758
from javadoc.destinationDir
5859
}

0 commit comments

Comments
 (0)