mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-05-17 12:45:58 +08:00
29 lines
591 B
Groovy
29 lines
591 B
Groovy
// SPDX-FileCopyrightText: 2019-2021 Vishesh Handa <me@vhanda.in>
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(':app')
|
|
}
|
|
|
|
tasks.register("clean", Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
// gradle.projectsEvaluated {
|
|
// tasks.withType(JavaCompile) {
|
|
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
// }
|
|
// }
|