|
|
10 小时之前 | |
|---|---|---|
| .. | ||
| commonsdk-compose | 10 小时之前 | |
| commonsdk-core | 10 小时之前 | |
| commonsdk-update | 10 小时之前 | |
| docs | 13 小时之前 | |
| gradle | 10 小时之前 | |
| lib-szyx | 10 小时之前 | |
| plugins | 13 小时之前 | |
| sample-app | 10 小时之前 | |
| .gitignore | 13 小时之前 | |
| README.md | 10 小时之前 | |
| build.gradle.kts | 13 小时之前 | |
| gradle.properties | 13 小时之前 | |
| gradlew | 13 小时之前 | |
| gradlew.bat | 13 小时之前 | |
| settings.gradle.kts | 10 小时之前 | |
一个面向开源的 Android 插件化项目基线,包含宿主 App、业务插件以及可复用的基础 SDK。
commonsdk-core: SDK 核心,承载网络、下载、文件、权限、缓存、日志、全局弹窗、设备与时间等基础能力。commonsdk-compose: Compose 扩展组件,提供下拉刷新、折叠面板、滑动操作、WebView、图片等业务可复用组件。commonsdk-update: 更新 SDK,独立承载 APK 更新、插件更新、版本比较与安装编排。lib-szyx: 项目专属 SDK,承载真实登录接口、签名、业务 Header 与会话管理。sample-app: 示例宿主应用。plugins/plugin-ui: UI 演示插件,可独立运行,也可被宿主拉起。docs: 方案文档。https://nexus.xuqinmin.com/repository/android/https://nexus.xuqinmin.com/repository/android-snapshot/https://nexus.xuqinmin.com/repository/android-hosted/发布账号请放入本地 local.properties 或环境变量,不要提交到仓库。
建议在 local.properties 中提供:
nexus.username=your-username
nexus.password=your-password
然后执行:
./gradlew publish
sample-app 与 plugin-ui 共享 commonsdk-core / commonsdk-compose / lib-szyxLibsDemo 中现有实现commonsdk-core 提供:
HttpManager / RetrofitManagerSharedCacheManager / SharedCacheProviderDownloadManager / FileHelperPermissionManager / GlobalCache / Logger / DialogCentercommonsdk-update 提供:
UpdateSDKPluginPackageManagerAppUpdaterlib-szyx 提供:
SzyxSDKAuthApi / AuthRepositoryBusinessHeaderInterceptorSzyxLoginActivity