android: clean debug and release assets

Change-Id: I3e6c53f6d82169ba5a529a63bae9256fb43d69ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95332
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
private/tml/ios-gen2
Henry Castro 2020-06-01 17:40:21 -04:00
parent c0e7b862da
commit e7c75fda31
3 changed files with 9 additions and 0 deletions

3
android/.gitignore vendored
View File

@ -1,5 +1,6 @@
.gradle
.idea
/build
/android.iml
/build.gradle
/local.properties
@ -12,4 +13,6 @@
/lib/src/main/assets/share/
/lib/src/main/assets/unpack/
/lib/src/main/assets/user/
/lib/src/debug/assets
/lib/src/release/assets
/lib/src/main/cpp/lib

View File

@ -24,3 +24,7 @@ allprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}
afterEvaluate {
clean.dependsOn(':lib:clean')
}

View File

@ -291,6 +291,8 @@ ReferenceOOoMajorMinor=4.1
clean.doFirst {
delete "src/main/assets"
delete "src/debug/assets"
delete "src/release/assets"
}
// creating the UI stuff is cheap, don't bother only applying it for the flavor..