libreoffice-online/android/build.gradle.in
Henry Castro 0a096fb4ad android: fix build when changing the build output directory
It happens when redirecting all the build output
to a specific directory

Change-Id: I084d35be1c72bd319515d642ddf5b4607f42cf6b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100567
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-12 13:10:02 +02:00

30 lines
631 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()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
afterEvaluate {
clean.dependsOn(':lib:clean')
}