You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
buildscript {
|
|
|
|
|
repositories {
|
|
|
|
|
google()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
// maven { url = uri("https://developer.huawei.com/repo/") }
|
|
|
|
|
}
|
|
|
|
|
dependencies {
|
|
|
|
|
classpath("com.android.tools.build:gradle:7.4.2")
|
|
|
|
|
classpath("com.google.gms:google-services:4.4.1")
|
|
|
|
|
// classpath("com.huawei.agconnect:agcp:1.9.3.302")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
|
repositories {
|
|
|
|
|
google()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
// maven { url = uri("https://developer.huawei.com/repo/") }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
|
|
|
|
|
rootProject.layout.buildDirectory.value(newBuildDir)
|
|
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
|
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
|
|
|
|
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
|
|
|
|
}
|
|
|
|
|
subprojects {
|
|
|
|
|
project.evaluationDependsOn(":app")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.register<Delete>("clean") {
|
|
|
|
|
delete(rootProject.layout.buildDirectory)
|
|
|
|
|
}
|