Skip to content

Commit

Permalink
docs: 更新 DevAssist、DevEngine 版本信息及 API 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
afkT committed Aug 6, 2022
1 parent f70f74f commit 05411b7
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 69 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装
implementation 'io.github.afkt:DevAppX:2.4.1'
// DevAssist - 封装逻辑代码, 实现多个快捷功能辅助类、以及 Engine 兼容框架等
implementation 'io.github.afkt:DevAssist:1.3.6'
implementation 'io.github.afkt:DevAssist:1.3.7'
// DevBase - Base ( Activity、Fragment )、MVP、ViewBinding、ContentLayout 基类库
implementation 'io.github.afkt:DevBase:1.1.3'
Expand All @@ -160,7 +160,7 @@ implementation 'io.github.afkt:DevBase:1.1.3'
implementation 'io.github.afkt:DevBaseMVVM:1.1.1'
// DevEngine - 第三方框架解耦、一键替换第三方库、同类库多 Engine 组件化混合使用
implementation 'io.github.afkt:DevEngine:1.0.8'
implementation 'io.github.afkt:DevEngine:1.0.9'
// DevHttpCapture - OkHttp 抓包工具库
implementation 'io.github.afkt:DevHttpCapture:1.1.2'
Expand Down
118 changes: 59 additions & 59 deletions application/DevUtilsApp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
apply from: rootProject.file(files.build_app_gradle)
apply from: rootProject.file(files.build_arouter_app_gradle)
apply from: rootProject.file(files.deps_other_lib)
apply from: rootProject.file(files.deps_qa_lib)

android {
defaultConfig {
applicationId "afkt.project"
}

sourceSets {
main {
// https://www.jianshu.com/p/f5a49d54e16e
// 优化 res 资源管理, 使用 sourceSets 资源分包
res.srcDirs = [
'src/main/res', // 全局通用资源文件
'src/main/res-base', // Base 基础资源
'src/main/res-framework', // Framework 架构
'src/main/res-function', // 其他功能
'src/main/res-lib', // Lib 框架
'src/main/res-sku', // 商品 SKU
'src/main/res-ui', // UI 效果
'src/main/res-ui-widget', // DevWidget UI 库
]
}
}
}

dependencies {
implementation project(':DevApp')
implementation project(':DevAssist')
implementation project(':DevBase')
implementation project(':DevBaseMVVM')
implementation project(':DevEngine')
implementation project(':DevWidget')

implementation project(':DevHttpCapture')
debugImplementation project(':DevHttpCaptureCompiler')
releaseImplementation project(':DevHttpCaptureCompilerRelease')

implementation project(':DevHttpManager')
implementation project(':DevRetrofit')

implementation project(':DevEnvironment')
kaptDebug project(':DevEnvironmentCompiler') // debugAnnotationProcessor
kaptRelease project(':DevEnvironmentCompilerRelease') // releaseAnnotationProcessor

// =========
// = 非 lib =
// =========

// DevComponent /core/libs/lib_utils
implementation project(':lib_utils')

implementation project(':DevBaseView')
implementation project(':DevOther')
implementation project(':DevSKU')
}

apply from: rootProject.file(files.build_app_gradle)
apply from: rootProject.file(files.build_arouter_app_gradle)
apply from: rootProject.file(files.deps_other_lib)
apply from: rootProject.file(files.deps_qa_lib)

android {
defaultConfig {
applicationId "afkt.project"
}

sourceSets {
main {
// https://www.jianshu.com/p/f5a49d54e16e
// 优化 res 资源管理, 使用 sourceSets 资源分包
res.srcDirs = [
'src/main/res', // 全局通用资源文件
'src/main/res-base', // Base 基础资源
'src/main/res-framework', // Framework 架构
'src/main/res-function', // 其他功能
'src/main/res-lib', // Lib 框架
'src/main/res-sku', // 商品 SKU
'src/main/res-ui', // UI 效果
'src/main/res-ui-widget', // DevWidget UI 库
]
}
}
}

dependencies {
implementation project(':DevApp')
implementation project(':DevAssist')
implementation project(':DevBase')
implementation project(':DevBaseMVVM')
implementation project(':DevEngine')
implementation project(':DevWidget')

implementation project(':DevHttpCapture')
debugImplementation project(':DevHttpCaptureCompiler')
releaseImplementation project(':DevHttpCaptureCompilerRelease')

implementation project(':DevHttpManager')
implementation project(':DevRetrofit')

implementation project(':DevEnvironment')
kaptDebug project(':DevEnvironmentCompiler') // debugAnnotationProcessor
kaptRelease project(':DevEnvironmentCompilerRelease') // releaseAnnotationProcessor

// =========
// = 非 lib =
// =========

// DevComponent /core/libs/lib_utils
implementation project(':lib_utils')

implementation project(':DevBaseView')
implementation project(':DevOther')
implementation project(':DevSKU')
}

8 changes: 4 additions & 4 deletions file/gradle/versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ ext {
dev_app_versionName : "2.4.1",

// DevAssist - 封装逻辑代码, 实现多个快捷功能辅助类、以及 Engine 兼容框架等
dev_assist_versionCode : 136,
dev_assist_versionName : "1.3.6",
dev_assist_versionCode : 137,
dev_assist_versionName : "1.3.7",

// DevBase - Base ( Activity、Fragment )、MVP、ViewBinding、ContentLayout 基类库
dev_base_versionCode : 113,
Expand All @@ -42,8 +42,8 @@ ext {
dev_base_mvvm_versionName : "1.1.1",

// DevEngine - 第三方框架解耦、一键替换第三方库、同类库多 Engine 组件化混合使用
dev_engine_versionCode : 108,
dev_engine_versionName : "1.0.8",
dev_engine_versionCode : 109,
dev_engine_versionName : "1.0.9",

// DevHttpCapture - OkHttp 抓包工具库
dev_http_capture_versionCode : 112,
Expand Down
7 changes: 6 additions & 1 deletion lib/DevAssist/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 1.3.7 *(2022-08-07)*
----------------------------

* `[Add]` DevTimerAssist 定时器辅助类

Version 1.3.6 *(2022-07-04)*
----------------------------

Expand Down Expand Up @@ -173,7 +178,7 @@ Version 1.0.9 *(2021-02-15)*
Version 1.0.8 *(2021-02-08)*
----------------------------

* `[Feat]` 重新调整包名、类名以及重新部分代码
* `[Update]` 重新调整包名、类名以及重新部分代码

Version 1.0.7 *(2020-12-28)*
----------------------------
Expand Down
16 changes: 15 additions & 1 deletion lib/DevAssist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevAssist:1.3.6'
implementation 'io.github.afkt:DevAssist:1.3.7'
```

## 目录结构
Expand Down Expand Up @@ -321,6 +321,20 @@ implementation 'io.github.afkt:DevAssist:1.3.6'
| notifyElementChanged | 通知某个数据改变 |


* **定时器辅助类 ->** [DevTimerAssist.java](https://github.com/afkT/DevUtils/blob/master/lib/DevAssist/src/main/java/dev/assist/DevTimerAssist.java)

| 方法 | 注释 |
| :- | :- |
| setTag | 设置 TAG |
| setHandler | 设置 UI Handler |
| setCallback | 设置回调事件 |
| getTimer | 获取定时器 |
| getDuration | 获取剩余总时长 ( 毫秒 ) |
| start | 运行定时器 |
| stop | 关闭定时器 |
| callback | 触发回调方法 |


* **EditText 搜索辅助类 ->** [EditTextSearchAssist.java](https://github.com/afkT/DevUtils/blob/master/lib/DevAssist/src/main/java/dev/assist/EditTextSearchAssist.java)

| 方法 | 注释 |
Expand Down
7 changes: 6 additions & 1 deletion lib/DevEngine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 1.0.9 *(2022-08-07)*
----------------------------

* `[Add]` 新增 engine kotlin 扩展函数实现代码

Version 1.0.8 *(2022-07-04)*
----------------------------

Expand All @@ -11,7 +16,7 @@ Version 1.0.8 *(2022-07-04)*
Version 1.0.7 *(2022-06-02)*
----------------------------

* `[Feat]` 更新 Fastjson 为 Fastjson2 及其实现代码,并使用 fastjson2.android 版本
* `[Chore]` 更新 Fastjson 为 Fastjson2 及其实现代码,并使用 fastjson2.android 版本

Version 1.0.6 *(2022-05-13)*
----------------------------
Expand Down
2 changes: 1 addition & 1 deletion lib/DevEngine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevEngine:1.0.8'
implementation 'io.github.afkt:DevEngine:1.0.9'
```

## 目录结构
Expand Down

0 comments on commit 05411b7

Please sign in to comment.