summaryrefslogtreecommitdiff
path: root/platform/android/java
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2020-05-25 12:03:35 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2020-05-25 12:03:35 -0700
commitbf76d2afcf6d36fa26acb12d52031130e6ce012b (patch)
treee7bb4930d3773b4763e7e467ed98246e6079931b /platform/android/java
parent2709ddb163799d33b632eeeea0cdf3cd75ad16b6 (diff)
Stop ignoring hidden files and directories in the `assets` directory
Diffstat (limited to 'platform/android/java')
-rw-r--r--platform/android/java/app/build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/android/java/app/build.gradle b/platform/android/java/app/build.gradle
index ea341b37b1..19202d2310 100644
--- a/platform/android/java/app/build.gradle
+++ b/platform/android/java/app/build.gradle
@@ -75,6 +75,11 @@ android {
}
defaultConfig {
+ // The default ignore pattern for the 'assets' directory includes hidden files and directories which are used by Godot projects.
+ aaptOptions {
+ ignoreAssetsPattern "!.svn:!.git:!.ds_store:!*.scc:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"
+ }
+
// Feel free to modify the application id to your own.
applicationId getExportPackageName()
minSdkVersion versions.minSdk