纳入范围: - 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
59 lines
2.2 KiB
Groovy
59 lines
2.2 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
|
|
ext {
|
|
// Thingclips 7.5.x artifacts in this repo are published with Kotlin 2.1 metadata.
|
|
kotlin_version = '2.1.0'
|
|
hilt_version = '2.58'
|
|
sdk_version = '7.8.0'
|
|
ipc_sdk_version = '7.8.1'
|
|
biz_bom_version = "7.8.14"
|
|
applicationId = "com.sample.sdk"
|
|
}
|
|
repositories {
|
|
mavenLocal()
|
|
maven { url "https://maven-other.tuya.com/repository/maven-commercial-releases/" }
|
|
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.8.0'
|
|
classpath "com.thingclips.smart:thingsmart-theme-open-plugin:2.0.5"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
maven { url "https://maven-other.tuya.com/repository/maven-commercial-releases/" }
|
|
|
|
google()
|
|
mavenCentral()
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
maven { url "https://jitpack.io" }
|
|
maven { url 'https://developer.huawei.com/repo/' }
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
|
|
resolutionStrategy.force 'com.squareup.okhttp3:okhttp-jvm:5.0.0-alpha.11'
|
|
resolutionStrategy.force 'com.squareup.okhttp3:okhttp-java-net-cookiejar:5.0.0-alpha.11'
|
|
resolutionStrategy.force 'com.squareup.okhttp3:okhttp-urlconnection:5.0.0-alpha.11'
|
|
resolutionStrategy.force 'com.squareup.okio:okio-jvm:3.2.0'
|
|
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
exclude group: "com.umeng.umsdk", module: 'huawei-basetb'
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|