summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorfhuya <fhuya@google.com>2020-03-04 09:21:59 -0800
committerfhuya <fhuya@google.com>2020-03-04 12:16:17 -0800
commitb38283a6b7e495b3f6748c2c5e47352bd1861f2b (patch)
tree3dd0b28380b4e63b56218d54692871ab804217e6 /.editorconfig
parent080b5df6256a368fcd767aec96dd2200194542c8 (diff)
Miscellaneous cleanup for the Android codebase:
- update gradle plugins versions - add formatting rules for AndroidManifest and gradle build files - cleanup java_godot_lib_jni Note: logic was mostly moved around and no new logic/functionality was added.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 56cc2e9c2d..f335026e1e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,6 +9,10 @@ insert_final_newline = true
[*.{cpp,hpp,c,h,mm}]
trim_trailing_whitespace = true
+[{*.gradle,AndroidManifest.xml}]
+indent_style = space
+indent_size = 4
+
[{*.{py,cs},SConstruct,SCsub}]
indent_style = space
indent_size = 4