summaryrefslogtreecommitdiff
path: root/platform/android/java
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-05-25 22:13:29 +0200
committerGitHub <noreply@github.com>2020-05-25 22:13:29 +0200
commit5b32bdc9f4622c8b3971da0d6b789a552ffe91e7 (patch)
treee7bb4930d3773b4763e7e467ed98246e6079931b /platform/android/java
parent2709ddb163799d33b632eeeea0cdf3cd75ad16b6 (diff)
parentbf76d2afcf6d36fa26acb12d52031130e6ce012b (diff)
Merge pull request #39049 from m4gr3d/stop_ignoring_hidden_files_in_assets
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