Skip to content

Commit

Permalink
docs: 更新 Dev系列库部分文件头 API 链接注释
Browse files Browse the repository at this point in the history
Former-commit-id: b73c639
Former-commit-id: bc13605
  • Loading branch information
afkT committed Jun 7, 2022
1 parent 6febc6c commit e72f7f8
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 35 deletions.
2 changes: 2 additions & 0 deletions lib/DevApp/src/main/java/dev/DevUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
2 changes: 2 additions & 0 deletions lib/DevAssist/src/main/java/dev/DevAssist.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
2 changes: 2 additions & 0 deletions lib/DevBase/src/main/java/dev/base/DevBase.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ package dev.base
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md
* DevHttpManager Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md
* DevRetrofit Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md
* DevJava Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md
* DevWidget Api
Expand Down
2 changes: 2 additions & 0 deletions lib/DevBaseMVVM/src/main/java/dev/base/DevBaseMVVM.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import dev.base.mvvm.BuildConfig
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md
* DevHttpManager Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md
* DevRetrofit Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md
* DevJava Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md
* DevWidget Api
Expand Down
2 changes: 2 additions & 0 deletions lib/DevEngine/src/main/java/dev/engine/DevEngine.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ import dev.utils.common.cipher.Cipher
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md
* DevHttpManager Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md
* DevRetrofit Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md
* DevJava Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md
* DevWidget Api
Expand Down
2 changes: 2 additions & 0 deletions lib/DevHttpCapture/src/main/java/dev/DevHttpCapture.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
2 changes: 2 additions & 0 deletions lib/DevHttpManager/src/main/java/dev/DevHttpManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import okhttp3.HttpUrl
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md
* DevHttpManager Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md
* DevRetrofit Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md
* DevJava Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md
* DevWidget Api
Expand Down
18 changes: 0 additions & 18 deletions lib/DevRetrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,11 @@ android.defaultConfig {
// DevRetrofit Module Version
buildConfigField "int", "DevRetrofit_VersionCode", "${versions.dev_retrofit_versionCode}"
buildConfigField "String", "DevRetrofit_Version", "\"${versions.dev_retrofit_versionName}\""
// DevApp Module Version
buildConfigField "int", "DevApp_VersionCode", "${versions.dev_app_versionCode}"
buildConfigField "String", "DevApp_Version", "\"${versions.dev_app_versionName}\""
}

// 是否发布版本
def isPublishing = false

dependencies {
// OkHttp3 网络请求框架 https://github.com/square/okhttp
api deps.lib.okhttp3
// Retrofit 网络请求库 https://github.com/square/retrofit
api deps.lib.retrofit

if (isPublishing) {
// 打包时使用
api deps.dev.dev_app_x
} else {
// 编译时使用
api project(':DevApp')
}
}

// gradlew clean
// gradlew install
// gradlew bintrayUpload
Expand Down
20 changes: 3 additions & 17 deletions lib/DevRetrofit/src/main/java/dev/DevRetrofit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dev
import dev.retrofit.BuildConfig

/**
* detail: OkHttp 管理库 ( Retrofit 多 BaseUrl 管理、Progress 监听 )
* detail: Retrofit + Kotlin Coroutines 封装
* @author Ttt
* <p></p>
* GitHub
Expand All @@ -22,6 +22,8 @@ import dev.retrofit.BuildConfig
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md
* DevHttpManager Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md
* DevRetrofit Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md
* DevJava Api
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md
* DevWidget Api
Expand Down Expand Up @@ -50,20 +52,4 @@ object DevRetrofit {
fun getDevRetrofitVersion(): String {
return BuildConfig.DevRetrofit_Version
}

/**
* 获取 DevApp 版本号
* @return DevApp versionCode
*/
fun getDevAppVersionCode(): Int {
return BuildConfig.DevApp_VersionCode
}

/**
* 获取 DevApp 版本
* @return DevApp versionName
*/
fun getDevAppVersion(): String {
return BuildConfig.DevApp_Version
}
}
2 changes: 2 additions & 0 deletions lib/DevWidget/src/main/java/dev/widget/DevWidget.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpCapture/README.md"/>
* DevHttpManager Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevHttpManager/README.md"/>
* DevRetrofit Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevRetrofit/README.md"/>
* DevJava Api
* @see <a href="https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md"/>
* DevWidget Api
Expand Down
1 change: 1 addition & 0 deletions lib/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- DevHttpCaptureCompilerRelease | Release ( 打包 / 编译 ) 实现代码
- DevHttpManager | OkHttp 管理库 ( Retrofit 多 BaseUrl 管理、Progress 监听 )
- DevWidget | 自定义 View UI 库
- DevRetrofit | Retrofit + Kotlin Coroutines 封装
- DevEnvironmentBase | 注解类、实体类、监听事件等通用基础
- DevEnvironment | 环境切换可视化 UI 操作
- DevEnvironmentCompiler | Debug ( 打包 / 编译 ) 生成实现代码
Expand Down

0 comments on commit e72f7f8

Please sign in to comment.