android_Explorer/build.gradle

41 lines
1.4 KiB
Groovy
Raw Normal View History

2025-07-31 16:25:22 +08:00
// 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"
}
}
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
}