-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: eff8719
- Loading branch information
Showing
44 changed files
with
1,257 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Change Log | ||
========== | ||
|
||
Version 1.0.0 *(2024-06-16)* | ||
---------------------------- | ||
|
||
* Initial release |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apply from: rootProject.file(files.lib_app_kotlin_gradle) | ||
apply from: rootProject.file(files.unified_use_view_data_binding_gradle) | ||
apply plugin: 'kotlin-parcelize' | ||
apply plugin: 'kotlin-kapt' | ||
|
||
android { | ||
namespace "dev.agile" | ||
|
||
defaultConfig { | ||
versionCode versions.dev_agile_versionCode | ||
versionName versions.dev_agile_versionName | ||
// DevAgile Module Version | ||
buildConfigField "int", "DevAgile_VersionCode", "${versions.dev_agile_versionCode}" | ||
buildConfigField "String", "DevAgile_Version", "\"${versions.dev_agile_versionName}\"" | ||
// DevAssist Module Version | ||
buildConfigField "int", "DevAssist_VersionCode", "${versions.dev_assist_versionCode}" | ||
buildConfigField "String", "DevAssist_Version", "\"${versions.dev_assist_versionName}\"" | ||
// DevRetrofit Module Version | ||
buildConfigField "int", "DevRetrofit_VersionCode", "${versions.dev_retrofit_versionCode}" | ||
buildConfigField "String", "DevRetrofit_Version", "\"${versions.dev_retrofit_versionName}\"" | ||
} | ||
} | ||
|
||
// 是否发布版本 | ||
def isPublishing = false | ||
|
||
dependencies { | ||
if (isPublishing) { | ||
// 打包时使用 | ||
api deps.dev.dev_assist | ||
api deps.dev.dev_retrofit | ||
} else { | ||
// 编译时使用 | ||
api project(':DevAssist') | ||
api project(':DevRetrofit') | ||
} | ||
} | ||
|
||
// tasks-build-assemble | ||
// publishing-publishReleasePublicationToXXXXXRepository | ||
//apply from: rootProject.file(files.bintray_upload_android) | ||
//apply from: rootProject.file(files.sonatype_upload_android) | ||
if (isPublishing) { | ||
apply from: rootProject.file(files.sonatype_upload_android) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#project | ||
project.name=DevAgile | ||
project.groupId=io.github.afkt | ||
project.artifactId=DevAgile | ||
project.packaging=aar | ||
project.siteUrl=https://github.com/afkT/DevUtils | ||
project.gitUrl=https://github.com/afkT/DevUtils.git | ||
|
||
#javadoc | ||
javadoc.name=DevAgile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest package="dev.agile" /> |
91 changes: 91 additions & 0 deletions
91
lib/DevSimple/DevAgile/src/main/java/dev/agile/DevAgile.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
package dev.agile | ||
|
||
/** | ||
* detail: DevAgile | ||
* @author Ttt | ||
* <p></p> | ||
* GitHub | ||
* @see https://github.com/afkT/DevUtils | ||
* DevApp Api | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevApp/README.md | ||
* DevAssist Api | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevAssist/README.md | ||
* DevBase README | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevBase/README.md | ||
* DevBaseMVVM README | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevBaseMVVM/README.md | ||
* DevMVVM README | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevMVVM/README.md | ||
* DevSimple README | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevSimple/DevSimple/README.md | ||
* DevAgile README | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevSimple/DevAgile/README.md | ||
* DevEngine README | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevEngine/README.md | ||
* DevHttpCapture Api | ||
* @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 | ||
* DevWidget Api | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevWidget/README.md | ||
* DevEnvironment Api | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/Environment | ||
* DevJava Api | ||
* @see https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md | ||
*/ | ||
object DevAgile { | ||
|
||
// ============ | ||
// = 工具类版本 = | ||
// ============ | ||
|
||
/** | ||
* 获取 DevAgile 版本号 | ||
* @return DevAgile versionCode | ||
*/ | ||
fun getDevAgileVersionCode(): Int { | ||
return BuildConfig.DevAgile_VersionCode | ||
} | ||
|
||
/** | ||
* 获取 DevAgile 版本 | ||
* @return DevAgile versionName | ||
*/ | ||
fun getDevAgileVersion(): String { | ||
return BuildConfig.DevAgile_Version | ||
} | ||
|
||
/** | ||
* 获取 DevAssist 版本号 | ||
* @return DevAssist versionCode | ||
*/ | ||
fun getDevAssistVersionCode(): Int { | ||
return BuildConfig.DevAssist_VersionCode | ||
} | ||
|
||
/** | ||
* 获取 DevAssist 版本 | ||
* @return DevAssist versionName | ||
*/ | ||
fun getDevAssistVersion(): String { | ||
return BuildConfig.DevAssist_Version | ||
} | ||
|
||
/** | ||
* 获取 DevRetrofit 版本号 | ||
* @return DevRetrofit versionCode | ||
*/ | ||
fun getDevRetrofitVersionCode(): Int { | ||
return BuildConfig.DevRetrofit_VersionCode | ||
} | ||
|
||
/** | ||
* 获取 DevRetrofit 版本 | ||
* @return DevRetrofit versionName | ||
*/ | ||
fun getDevRetrofitVersion(): String { | ||
return BuildConfig.DevRetrofit_Version | ||
} | ||
} |
Oops, something went wrong.