Files
GitJournal/android/build.gradle
Vishesh Handa 3e6c05a552 Revert "Revert "android: Move to new gradle setup""
This reverts commit 8a870911762fce95f3d2de0d8b81c0f163e191cf.
2024-09-06 09:59:56 +02:00

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"
// }
// }