Skip to content

Commit 6a836a0

Browse files
committed
see 07/26 log
1 parent 8f1c522 commit 6a836a0

File tree

23 files changed

+294
-66
lines changed

23 files changed

+294
-66
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* `19/07/26` [add] ContainerUtils. Publish v1.25.2.
2+
* `19/07/25` [fix] PermissionUtils' NullPointException.
3+
* `19/07/24` [fix] ZipUtils#unzipFile.
14
* `19/07/23` [fix] ThreadUtils of cache pool. Publish v1.25.1.
25
* `19/07/18` [add] README of ApiUtils and BusUtils.
36
* `19/07/15` [add] Publish v1.25.0.

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
[frame]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/auc_frame.png
4747

48-
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.25.1-brightgreen.svg
48+
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.25.2-brightgreen.svg
4949
[auc]: https://github.com/Blankj/AndroidUtilCode
5050

5151
[apiSvg]: https://img.shields.io/badge/API-14+-brightgreen.svg

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If this project helps you a lot and you want to support the project's developmen
4545

4646
[frame]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/auc_frame.png
4747

48-
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.25.1-brightgreen.svg
48+
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.25.2-brightgreen.svg
4949
[auc]: https://github.com/Blankj/AndroidUtilCode
5050

5151
[apiSvg]: https://img.shields.io/badge/API-14+-brightgreen.svg

buildApp.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ configApkName()
1616
android {
1717
compileSdkVersion Config.compileSdkVersion
1818
defaultConfig {
19-
minSdkVersion Config.minSdkVersion
19+
minSdkVersion 16
2020
versionCode Config.versionCode
2121
versionName Config.versionName
2222
applicationId Config.applicationId + suffix
@@ -55,6 +55,9 @@ dependencies {
5555
debugImplementation Config.depConfig.leakcanary.support_fragment.dep
5656
releaseImplementation Config.depConfig.leakcanary.android_no_op.dep
5757

58+
debugImplementation 'com.didichuxing.doraemonkit:doraemonkit:1.1.8'
59+
releaseImplementation 'com.didichuxing.doraemonkit:doraemonkit-no-op:1.1.8'
60+
5861
// 根据 Config.pkgConfig 来依赖所有 pkg
5962
for (def entrySet : ConfigUtils.getApplyPkgs().entrySet()) {
6063
api entrySet.value.dep

buildSrc/src/main/groovy/Config.groovy

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Config {
1414
static compileSdkVersion = 27
1515
static minSdkVersion = 14
1616
static targetSdkVersion = 27
17-
static versionCode = 1_025_001
18-
static versionName = '1.25.1'// E.g. 1.9.72 => 1,009,072
17+
static versionCode = 1_025_002
18+
static versionName = '1.25.2'// E.g. 1.9.72 => 1,009,072
1919

2020
// lib version
2121
static kotlin_version = '1.3.10'
@@ -71,10 +71,11 @@ class Config {
7171
],
7272

7373
lib : [
74-
base : new DepConfig(":lib:base"),
75-
common : new DepConfig(":lib:common"),
76-
subutil : new DepConfig(":lib:subutil"),
77-
utilcode: new DepConfig(true/*是否本地调试*/, ":lib:utilcode", "com.blankj:utilcode:$versionName"),
74+
base : new DepConfig(":lib:base"),
75+
common : new DepConfig(":lib:common"),
76+
subutil : new DepConfig(":lib:subutil"),
77+
utilcode : new DepConfig(true/*是否本地调试*/, ":lib:utilcode", "com.blankj:utilcode:$versionName"),
78+
utildebug: new DepConfig(true/*是否本地调试*/, ":lib:utildebug", "com.blankj:utildebug:$versionName"),
7879
],
7980

8081
support : [

buildSrc/src/main/groovy/ConfigUtils.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class ConfigUtils {
8888
void beforeEvaluate(Project project) {
8989
if (project.subprojects.isEmpty()) {
9090
if (project.path.contains(":plugin:")) {
91-
// 插件的话自己写 build.gradle
9291
return
9392
}
9493
if (project.name == "app") {

lib/base/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ dependencies {
1212
api Config.depConfig.swipe_panel.dep
1313
api Config.depConfig.eventbus.lib.dep
1414
compileOnly Config.depConfig.leakcanary.android_no_op.dep
15+
compileOnly 'com.didichuxing.doraemonkit:doraemonkit-no-op:1.1.8'
1516
}

lib/base/src/main/java/com/blankj/base/BaseApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.blankj.utilcode.util.CrashUtils;
99
import com.blankj.utilcode.util.LogUtils;
1010
import com.blankj.utilcode.util.ProcessUtils;
11+
import com.didichuxing.doraemonkit.DoraemonKit;
1112
import com.squareup.leakcanary.LeakCanary;
1213

1314
import java.util.ArrayList;
@@ -41,6 +42,7 @@ protected void attachBaseContext(Context base) {
4142
public void onCreate() {
4243
super.onCreate();
4344
sInstance = this;
45+
DoraemonKit.install(this);
4446
initLeakCanary();
4547
initLog();
4648
initCrash();

lib/utilcode/README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.25.1'
5+
implementation 'com.blankj:utilcode:1.25.2'
66
77
// if u use AndroidX, use the following
8-
implementation 'com.blankj:utilcodex:1.25.1'
8+
implementation 'com.blankj:utilcodex:1.25.2'
99
```
1010

1111

lib/utilcode/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.25.1'
5+
implementation 'com.blankj:utilcode:1.25.2'
66
77
// if u use AndroidX, use the following
8-
implementation 'com.blankj:utilcodex:1.25.1'
8+
implementation 'com.blankj:utilcodex:1.25.2'
99
```
1010

1111

0 commit comments

Comments
 (0)