// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.9.22' // ext.arouter_api_version = '1.5.0' // ext.arouter_compiler_version = '1.2.2' repositories { google() jcenter() mavenLocal() mavenCentral() gradlePluginPortal() maven {url 'https://developer.huawei.com/repo/'}//华为统一扫码 maven { url 'https://jitpack.io'} //添加jitpack仓库 maven { url "https://dl.bintray.com/itxiaox/android"}//相册选择第三方 maven { url "https://repo.eclipse.org/content/repositories/paho-snapshots/"}//mqtt } dependencies { classpath 'com.android.tools.build:gradle:8.3.1' classpath 'com.huawei.agconnect:agcp:1.2.0.300' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:1.7.0" classpath 'com.google.dagger:hilt-android-gradle-plugin:2.51' classpath "org.jetbrains.kotlin:kotlin-stdlib:1.9.22" } } allprojects { repositories { google() jcenter() mavenLocal() mavenCentral() gradlePluginPortal() maven {url 'https://developer.huawei.com/repo/'}//华为统一扫码 maven { url 'https://jitpack.io'} //添加jitpack仓库 maven { url "https://dl.bintray.com/itxiaox/android"}//相册选择第三方 maven { url "https://repo.eclipse.org/content/repositories/paho-snapshots/"}//mqtt } } task clean(type: Delete) { delete rootProject.buildDir }