2020-11-06 18:04:04 +08:00
|
|
|
buildscript {
|
2023-11-01 15:52:07 +08:00
|
|
|
ext.kotlin_version = '1.9.10'
|
2020-11-06 18:04:04 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2022-02-08 22:44:32 +08:00
|
|
|
maven { url 'https://jitpack.io' }
|
2020-11-06 18:04:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-10-24 21:30:22 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:7.0.0'
|
2022-04-20 14:53:12 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2022-09-17 19:26:35 +08:00
|
|
|
classpath 'com.google.gms:google-services:4.3.14'
|
2020-11-06 18:04:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2022-02-08 22:44:32 +08:00
|
|
|
maven { url 'https://jitpack.io' }
|
2020-11-06 18:04:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.buildDir = '../build'
|
|
|
|
subprojects {
|
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
2023-05-22 16:23:19 +08:00
|
|
|
tasks.register("clean", Delete) {
|
2020-11-06 18:04:04 +08:00
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|