- 插件包改为 .xuqm.zip 事务制品,manifest/bundle/资源/SHA-256 统一校验 - 原生层拆分为桥接编排、插件包暂存、底层存储三个单一职责类 - 状态查询改为纯读取,不再误触发安装;新增 NATIVE_BASELINE_INCOMPATIBLE 拒绝 - SemVer 解析拆分为独立原生类并补原生测试 - XWebView 收口唯一内核,错误态统一中文层与重试 - common 增加请求头/运行时契约收口与 http 测试
28 行
547 B
Groovy
28 行
547 B
Groovy
apply plugin: "com.android.library"
|
|
|
|
android {
|
|
compileSdk = 36
|
|
namespace = "com.xuqm.update"
|
|
|
|
defaultConfig {
|
|
minSdk = 24
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven { url = uri("https://nexus.xuqinmin.com/repository/android/") }
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.facebook.react:react-android")
|
|
implementation("com.xuqm:sdk-update:2.0.0-SNAPSHOT")
|
|
testImplementation("junit:junit:4.13.2")
|
|
}
|