Skip to content

Commit

Permalink
move: 移动三个本地 module DevBase2、DevOther、DevSKU 到 lib/LocalModules 文件夹下,…
Browse files Browse the repository at this point in the history
…并修改关联地方

Former-commit-id: 4395635
  • Loading branch information
afkT committed Jun 7, 2022
1 parent 2b5de56 commit 37dcbd0
Show file tree
Hide file tree
Showing 112 changed files with 69 additions and 64 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@

## Other

> [DevBase2](https://github.com/afkT/DevUtils/blob/master/lib/DevBase2/src/main/java/dev/base) Base 基础代码 ( 非基类库 )
> [DevBase2](https://github.com/afkT/DevUtils/blob/master/lib/LocalModules/DevBase2/src/main/java/dev/base) Base 基础代码 ( 非基类库 )
>
> [DevOther](https://github.com/afkT/DevUtils/blob/master/lib/DevOther/README.md) 第三方库封装、以及部分特殊工具类等,方便 copy 封装类使用
> [DevOther](https://github.com/afkT/DevUtils/blob/master/lib/LocalModules/DevOther/README.md) 第三方库封装、以及部分特殊工具类等,方便 copy 封装类使用
>
> [DevSKU](https://github.com/afkT/DevUtils/blob/master/lib/DevSKU/src/main/java/dev/sku/SKU.kt) 商品 SKU 组合封装实现 ( 如何使用搜索 DevSKUActivity )
> [DevSKU](https://github.com/afkT/DevUtils/blob/master/lib/LocalModules/DevSKU/src/main/java/dev/sku/SKU.kt) 商品 SKU 组合封装实现 ( 如何使用搜索 DevSKUActivity )
>
> [JavaDoc API Generate](https://github.com/afkT/JavaDoc) 该工具类 (DevUtils) API 文档,是通过 JavaDoc 项目读取 class 信息生成,并且进行代码、注释间距规范检测,生成效果示范 [DevApp - API](https://github.com/afkT/DevUtils/blob/master/lib/DevApp/README.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ModuleActivity : BaseActivity<BaseViewRecyclerviewBinding>() {
ButtonValue.BTN_MMKV,
ButtonValue.BTN_DATA_STORE,
ButtonValue.BTN_WORK_MANAGER -> ToastTintUtils.info(
"具体请查看: lib/DevOther/other/" + buttonValue.text
"具体请搜索: lib/LocalModules/DevOther " + buttonValue.text
)
else -> routerActivity(buttonValue)
}
Expand Down
2 changes: 1 addition & 1 deletion lib/DevEngine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ DevEngine(基于 [DevAssist Engine 模块](https://github.com/afkT/DevUtils/bl
## 依赖实现信息

> 该库为 Kotlin 实现,另有 [Java 实现代码](https://github.com/afkT/DevUtils/blob/master/lib/DevOther/src/main/java/java/dev/engine)
> 该库为 Kotlin 实现,另有 [Java 实现代码](https://github.com/afkT/DevUtils/blob/master/lib/LocalModules/DevOther/src/main/java/java/dev/engine)
> **该库会依赖第三方库导致项目体积变大等情况**,可自行 copy 所需已实现代码进行使用
已实现模块有(依赖第三方库实现列表如下展示):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
98 changes: 49 additions & 49 deletions lib/DevOther/README.md → lib/LocalModules/DevOther/README.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 9 additions & 4 deletions lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ Engine 兼容框架等
- DevApp | Android 工具类库
- DevAssist | 封装逻辑代码, 实现多个快捷功能辅助类、以及 Engine 兼容框架等
- DevBase | Base ( Activity、Fragment )、MVP、ViewBinding、ContentLayout 基类库
- DevBase2 | Base 基础代码 ( 非基类库 )
- DevBaseMVVM | MVVM ( ViewDataBinding + ViewModel ) 基类库
- DevEngine | 第三方框架解耦、一键替换第三方库、同类库多 Engine 组件化混合使用
- DevHttpCapture | OkHttp 抓包工具库
- DevHttpManager | OkHttp 管理库 ( Retrofit 多 BaseUrl 管理、Progress 监听 )
- DevJava | Java 工具类库 ( 不依赖 android api )
- DevOther | 第三方库封装、以及部分特殊工具类等, 方便 copy 封装类使用
- DevSKU | 商品 SKU 组合封装实现
- DevRetrofit | Retrofit + Kotlin Coroutines 封装
- DevWidget | 自定义 View UI 库
- Environment | Android 环境配置切换库
- DevEnvironment | 环境切换可视化 UI 操作
Expand All @@ -27,6 +25,10 @@ Engine 兼容框架等
- HttpCapture | OkHttp 抓包工具库 ( 可视化功能 )
- DevHttpCaptureCompiler | Debug ( 打包 / 编译 ) 实现代码
- DevHttpCaptureCompilerRelease | Release ( 打包 / 编译 ) 实现代码
- LocalModules | 本地 Module lib ( 非发布库 )
- DevBase2 | Base 基础代码 ( 非基类库 )
- DevOther | 第三方库封装、以及部分特殊工具类等, 方便 copy 封装类使用
- DevSKU | 商品 SKU 组合封装实现
```

## Dev 系列全部 Lib Gradle
Expand Down Expand Up @@ -69,4 +71,7 @@ releaseAnnotationProcessor 'io.github.afkt:DevEnvironmentCompilerRelease:1.1.0'
// DevJava - Java 工具类库 ( 不依赖 android api )
implementation 'io.github.afkt:DevJava:1.4.4' // 用于纯 Java 开发,如果依赖了 DevApp 则不需要依赖 DevJava
```
```



12 changes: 6 additions & 6 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ environment_libs.forEach {
project(":$it").projectDir = new File(rootDir, "lib/Environment/$it")
}

// ===============
// = Libs Module =
// ===============
// =================
// = Local Modules =
// =================

def libs_modules = [
def local_modules = [
"DevBase2",
"DevOther",
"DevSKU",
]

libs_modules.forEach {
local_modules.forEach {
include(":$it")
project(":$it").projectDir = new File(rootDir, "lib/$it")
project(":$it").projectDir = new File(rootDir, "lib/LocalModules/$it")
}

// ==========
Expand Down

0 comments on commit 37dcbd0

Please sign in to comment.