libreoffice-online/android/build.gradle.in
Rash419 c0273e8574 android: use tasks.register in build.gradle
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I1ab6908f333115247018a53f6e954751bb13fc8c
2023-08-31 13:12:22 +02:00

31 lines
743 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildDir = "@abs_top_builddir@/android/build"
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
// before updating make sure https://issuetracker.google.com/issues/293294923 is fixed
classpath 'com.android.tools.build:gradle:3.6.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
afterEvaluate {
clean.dependsOn(':lib:clean')
}