35 lines
786 B
Groovy
35 lines
786 B
Groovy
buildscript {
|
|
ext.kotlin_version = '2.1.21'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
// maven { url 'https://developer.huawei.com/repo/' }
|
|
}
|
|
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:8.8.1"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
// classpath 'com.huawei.agconnect:agcp:1.5.2.300'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
// maven {url 'https://developer.huawei.com/repo/'}
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
//subprojects {
|
|
// project.evaluationDependsOn(':app')
|
|
//}
|
|
|
|
tasks.register("clean", Delete) {
|
|
delete rootProject.buildDir
|
|
}
|