- 新增 Web 用户端(登录体系 + 统一 REST API 调用) - 后端增加用户认证、统一 ApiResponse、CORS 支持 - Android 设备端迁移至 MVVM + DataBinding + Retrofit 网络层 - 完善 README 架构说明与密码学原理文档 - 新增 .gitignore 与持久化数据表说明
43 lines
1.2 KiB
Groovy
43 lines
1.2 KiB
Groovy
plugins {
|
||
id 'com.android.application'
|
||
}
|
||
|
||
android {
|
||
namespace "com.secure.demo"
|
||
compileSdkVersion 36
|
||
|
||
defaultConfig {
|
||
applicationId "com.secure.demo"
|
||
minSdkVersion 26
|
||
targetSdkVersion 36
|
||
versionCode 1
|
||
versionName "1.0"
|
||
|
||
}
|
||
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
}
|
||
|
||
buildFeatures {
|
||
buildConfig true
|
||
dataBinding true
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||
implementation 'com.google.android.material:material:1.11.0'
|
||
|
||
// 网络层(技术栈对齐 WebRTCController:Retrofit + OkHttp + Gson + RxJava3)
|
||
implementation 'com.squareup.retrofit2:retrofit:3.0.0'
|
||
implementation 'com.squareup.retrofit2:converter-gson:3.0.0'
|
||
implementation 'com.squareup.retrofit2:adapter-rxjava3:3.0.0'
|
||
implementation 'com.squareup.okhttp3:okhttp:5.3.2'
|
||
implementation 'com.squareup.okhttp3:logging-interceptor:5.3.2'
|
||
implementation 'io.reactivex.rxjava3:rxjava:3.1.12'
|
||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
|
||
implementation 'com.google.code.gson:gson:2.14.0'
|
||
}
|