纳入范围: - 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
54 lines
1.6 KiB
Groovy
54 lines
1.6 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.thingclips.smart.devicebiz'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
minSdk 23
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
implementation "com.facebook.fresco:fresco:2.6.0"
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation "com.alibaba:fastjson:1.1.67.android"
|
|
implementation 'com.google.android.material:material:1.9.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
|
|
implementation "androidx.core:core-ktx:${kotlin_version}"
|
|
implementation "androidx.navigation:navigation-ui-ktx:${navigation_ui_ktx}"
|
|
implementation "androidx.navigation:navigation-fragment-ktx:${navigation_fragment_ktx}"
|
|
|
|
// 涂鸦 Home SDK
|
|
api "com.thingclips.smart:thingsmart:${sdk_version}"
|
|
// 设备业务拓展SDK
|
|
implementation "com.thingclips.smart:thingsmart-expansion-sdk:${expansion_version}"
|
|
}
|
|
|