// 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 }