38 lines
895 B
Plaintext
38 lines
895 B
Plaintext
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven { url = uri("https://jitpack.io") }
|
|
maven { url = uri("https://storage.googleapis.com/download.flutter.io") }
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven { url = uri("https://plugins.gradle.org/m2/") }
|
|
}
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
plugins {
|
|
id("com.google.gms.google-services") version "4.4.4" apply false
|
|
} |