- 新增 Android SDK 主文档,包含模块结构、集成方式、快速开始指南 - 添加 sdk-core、sdk-im、sdk-push、sdk-update、sdk-webview 各模块详细说明 - 配置各模块的 build.gradle.kts 文件,设置依赖和发布选项 - 更新 gradle.properties 版本配置和编译参数 - 重构 XWebViewView 组件,增加相机权限、文件选择、下载拦截功能 - 添加 XWebViewTypes.kt 定义配置类和控制器接口 - 集成 Flutter WebView 桥接代码,实现跨平台功能对齐
32 行
679 B
Plaintext
32 行
679 B
Plaintext
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
apply(from = rootProject.file("gradle/publish.gradle"))
|
|
|
|
android {
|
|
namespace = "com.xuqm.sdk.update"
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
|
|
defaultConfig {
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
publishing {
|
|
singleVariant("release") {
|
|
withSourcesJar()
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":sdk-core"))
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
}
|