纳入范围: - backend/ Spring Boot 多模块后端(iot-common/device/rule/data/alarm/auth) - frontend/admin/ Vue3 + Element Plus 管理后台 - Android/ 涂鸦原生 APP (com.xhai.iot) - backend/sql/ Flyway 风格迁移脚本(V2~V21) - docs/ 对接文档与设计文档 排除范围: - 构建产物: node_modules/ target/ build/ dist/ .gradle/ - 签名密钥: *.jks *.keystore (严禁入库) - 本机配置: Android/local.properties - 运行日志: logs/ *.log - AI 协作本地数据 .codebuddy/ 与第三方 demo tuya-demo/ .gitattributes 统一以 LF 存储, Windows 批处理保留 CRLF
42 lines
1.3 KiB
Groovy
42 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
namespace "com.tuya.smart.bizbundle.scene.demo"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
api enforcedPlatform("com.thingclips.smart:thingsmart-BizBundlesBom:${biz_bom_version}")
|
|
api ("com.thingclips.smart:thingsmart-bizbundle-scene")
|
|
// 国际包使用
|
|
// api "com.thingclips.smart:thingsmart-bizbundle-map_google"
|
|
// api "com.thingclips.smart:thingsmart-bizbundle-location_google"
|
|
|
|
// 国内包使用
|
|
api ("com.thingclips.smart:thingsmart-bizbundle-map_amap"){
|
|
exclude group: 'com.amap.api',module: 'navi-3dmap'
|
|
}
|
|
api ("com.thingclips.smart:thingsmart-bizbundle-location_amap"){
|
|
exclude group: 'com.amap.api',module: 'navi-3dmap'
|
|
}
|
|
api "com.thingclips.smart:thingsmart:${sdk_version}"
|
|
|
|
} |